Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 191.7 kB / 22.23 MB, free: 5.098 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 225.6 MB / 251 MB, free: 13.21 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.985/2.985, allocations: 0.4893 GB / 0.7884 GB, free: 33.03 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow")
translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 62.33 kB / 1.145 GB, free: 30.78 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.315, allocations: 174.9 MB / 1.316 GB, free: 9.746 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2462/0.5612, allocations: 222.6 MB / 1.533 GB, free: 10.31 MB / 1.232 GB
Notification: Performance of NFInst.instExpressions: time 0.009491/0.5707, allocations: 5.77 MB / 1.539 GB, free: 4.531 MB / 1.232 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.5719, allocations: 55.5 kB / 1.539 GB, free: 4.477 MB / 1.232 GB
Notification: Performance of NFTyping.typeComponents: time 0.001558/0.5735, allocations: 0.6059 MB / 1.54 GB, free: 3.867 MB / 1.232 GB
Notification: Performance of NFTyping.typeBindings: time 0.004446/0.5779, allocations: 1.956 MB / 1.542 GB, free: 1.902 MB / 1.232 GB
Notification: Performance of NFTyping.typeClassSections: time 0.00291/0.5809, allocations: 1.228 MB / 1.543 GB, free: 0.6797 MB / 1.232 GB
Notification: Performance of NFFlatten.flatten: time 0.003993/0.5848, allocations: 3.056 MB / 1.546 GB, free: 13.61 MB / 1.248 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001183/0.586, allocations: 0.7619 MB / 1.547 GB, free: 12.83 MB / 1.248 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.002379/0.5884, allocations: 1.327 MB / 1.548 GB, free: 11.5 MB / 1.248 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.002088/0.5905, allocations: 0.9993 MB / 1.549 GB, free: 10.51 MB / 1.248 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001704/0.5907, allocations: 108 kB / 1.549 GB, free: 10.4 MB / 1.248 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0028/0.5935, allocations: 1.524 MB / 1.55 GB, free: 8.875 MB / 1.248 GB
Notification: Performance of NFScalarize.scalarize: time 0.0004983/0.594, allocations: 482.6 kB / 1.551 GB, free: 8.402 MB / 1.248 GB
Notification: Performance of NFVerifyModel.verify: time 0.0007346/0.5947, allocations: 0.6612 MB / 1.552 GB, free: 7.738 MB / 1.248 GB
Notification: Performance of NFConvertDAE.convert: time 0.002884/0.5976, allocations: 2.137 MB / 1.554 GB, free: 5.594 MB / 1.248 GB
Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.5976, allocations: 3.938 kB / 1.554 GB, free: 5.59 MB / 1.248 GB
Notification: Performance of FrontEnd: time 1.223e-06/0.5976, allocations: 8 kB / 1.554 GB, free: 5.582 MB / 1.248 GB
Notification: Performance of Transformations before backend: time 1.315e-05/0.5976, allocations: 3.938 kB / 1.554 GB, free: 5.578 MB / 1.248 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 215
 * Number of variables: 215
Notification: Performance of Generate backend data structure: time 0.002381/0.6, allocations: 1.45 MB / 1.555 GB, free: 4.09 MB / 1.248 GB
Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.6, allocations: 8.031 kB / 1.555 GB, free: 4.082 MB / 1.248 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001862/0.6019, allocations: 326.9 kB / 1.555 GB, free: 3.762 MB / 1.248 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.6033, allocations: 0.7916 MB / 1.556 GB, free: 2.941 MB / 1.248 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.145e-05/0.6033, allocations: 69.92 kB / 1.556 GB, free: 2.875 MB / 1.248 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.6035, allocations: 84 kB / 1.556 GB, free: 2.793 MB / 1.248 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/0.6051, allocations: 0.9208 MB / 1.557 GB, free: 1.863 MB / 1.248 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.6051, allocations: 7.938 kB / 1.557 GB, free: 1.855 MB / 1.248 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.566e-05/0.6052, allocations: 36 kB / 1.557 GB, free: 1.82 MB / 1.248 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-05/0.6052, allocations: 41.92 kB / 1.557 GB, free: 1.777 MB / 1.248 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.6066, allocations: 0.8315 MB / 1.558 GB, free: 0.9492 MB / 1.248 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005347/0.612, allocations: 3.614 MB / 1.562 GB, free: 13.08 MB / 1.264 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0007686/0.6128, allocations: 469.3 kB / 1.562 GB, free: 12.62 MB / 1.264 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004457/0.6132, allocations: 276.4 kB / 1.562 GB, free: 12.35 MB / 1.264 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001577/0.6134, allocations: 28.41 kB / 1.562 GB, free: 12.32 MB / 1.264 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.713e-05/0.6134, allocations: 50.88 kB / 1.562 GB, free: 12.26 MB / 1.264 GB
Notification: Performance of pre-optimization done (n=47): time 1.984e-06/0.6134, allocations: 0 / 1.562 GB, free: 12.26 MB / 1.264 GB
Notification: Performance of matching and sorting (n=49): time 0.003392/0.6168, allocations: 1.667 MB / 1.564 GB, free: 10.55 MB / 1.264 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.6169, allocations: 59.84 kB / 1.564 GB, free: 10.48 MB / 1.264 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009731/0.6178, allocations: 0.8058 MB / 1.565 GB, free: 9.664 MB / 1.264 GB
Notification: Performance of collectPreVariables (initialization): time 5.238e-05/0.6179, allocations: 37.7 kB / 1.565 GB, free: 9.621 MB / 1.264 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003686/0.6182, allocations: 488.1 kB / 1.565 GB, free: 9.141 MB / 1.264 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.6184, allocations: 186.4 kB / 1.566 GB, free: 8.957 MB / 1.264 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/0.6186, allocations: 122.2 kB / 1.566 GB, free: 8.828 MB / 1.264 GB
Notification: Performance of setup shared object (initialization): time 0.0001471/0.6188, allocations: 330 kB / 1.566 GB, free: 8.5 MB / 1.264 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004326/0.6192, allocations: 245.2 kB / 1.566 GB, free: 8.262 MB / 1.264 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005568/0.6197, allocations: 384.5 kB / 1.567 GB, free: 7.832 MB / 1.264 GB
Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start)
Notification: Performance of analyzeInitialSystem (initialization): time 0.003559/0.6233, allocations: 1.458 MB / 1.568 GB, free: 6.332 MB / 1.264 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.6233, allocations: 4 kB / 1.568 GB, free: 6.328 MB / 1.264 GB
Notification: Performance of matching and sorting (n=74) (initialization): time 0.001314/0.6246, allocations: 0.7952 MB / 1.569 GB, free: 5.52 MB / 1.264 GB
Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.6246, allocations: 9.875 kB / 1.569 GB, free: 5.512 MB / 1.264 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.6246, allocations: 0 / 1.569 GB, free: 5.512 MB / 1.264 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001631/0.6248, allocations: 65.69 kB / 1.569 GB, free: 5.441 MB / 1.264 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006454/0.6255, allocations: 152 kB / 1.569 GB, free: 5.293 MB / 1.264 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002615/0.6281, allocations: 2.906 MB / 1.572 GB, free: 2.156 MB / 1.264 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007376/0.6288, allocations: 40.09 kB / 1.572 GB, free: 2.117 MB / 1.264 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.135e-05/0.6289, allocations: 27.98 kB / 1.572 GB, free: 2.09 MB / 1.264 GB
Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system:
         volDyn.dynBal.medium.p = volDyn.dynBal.p_start.
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 14
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (71):
 * Single equations (assignments): 69
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 2 systems
   {(1,1), (1,2)}
Notification: Performance of prepare postOptimizeDAE: time 0.0004555/0.6293, allocations: 307.2 kB / 1.572 GB, free: 1.785 MB / 1.264 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.6295, allocations: 95.42 kB / 1.572 GB, free: 1.691 MB / 1.264 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001904/0.6297, allocations: 96.73 kB / 1.572 GB, free: 1.594 MB / 1.264 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.6297, allocations: 8 kB / 1.572 GB, free: 1.586 MB / 1.264 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6297, allocations: 3.984 kB / 1.572 GB, free: 1.582 MB / 1.264 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001071/0.6307, allocations: 0.8387 MB / 1.573 GB, free: 0.6562 MB / 1.264 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002839/0.6336, allocations: 1.763 MB / 1.575 GB, free: 14.8 MB / 1.279 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.6336, allocations: 4 kB / 1.575 GB, free: 14.79 MB / 1.279 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005943/0.6342, allocations: 135.8 kB / 1.575 GB, free: 14.66 MB / 1.279 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.945e-05/0.6343, allocations: 36.84 kB / 1.575 GB, free: 14.62 MB / 1.279 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.623e-05/0.6343, allocations: 15.98 kB / 1.575 GB, free: 14.61 MB / 1.279 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001341/0.6356, allocations: 1.491 MB / 1.577 GB, free: 13 MB / 1.279 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.6356, allocations: 7.938 kB / 1.577 GB, free: 12.99 MB / 1.279 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.6372, allocations: 1.07 MB / 1.578 GB, free: 11.86 MB / 1.279 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003785/0.6376, allocations: 163.3 kB / 1.578 GB, free: 11.7 MB / 1.279 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.6377, allocations: 20.05 kB / 1.578 GB, free: 11.68 MB / 1.279 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006361/0.6383, allocations: 33.55 kB / 1.578 GB, free: 11.65 MB / 1.279 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.6384, allocations: 39.88 kB / 1.578 GB, free: 11.61 MB / 1.279 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.248e-05/0.6385, allocations: 35.92 kB / 1.578 GB, free: 11.58 MB / 1.279 GB
Notification: Performance of sorting global known variables: time 0.0007239/0.6392, allocations: 0.5576 MB / 1.578 GB, free: 11.03 MB / 1.279 GB
Notification: Performance of sort global known variables: time 1.1e-07/0.6392, allocations: 4 kB / 1.578 GB, free: 11.02 MB / 1.279 GB
Notification: Performance of remove unused functions: time 0.0008574/0.6401, allocations: 276 kB / 1.579 GB, free: 10.75 MB / 1.279 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 14
 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U)
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (47):
 * Single equations (assignments): 46
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,2)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0004198/0.6405, allocations: 193.8 kB / 1.579 GB, free: 10.56 MB / 1.279 GB
Notification: Performance of simCode: created initialization part: time 0.001294/0.6418, allocations: 0.7801 MB / 1.58 GB, free: 9.758 MB / 1.279 GB
Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.6418, allocations: 4 kB / 1.58 GB, free: 9.754 MB / 1.279 GB
Notification: Performance of simCode: created simulation system equations: time 0.0005857/0.6424, allocations: 395.5 kB / 1.58 GB, free: 9.355 MB / 1.279 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002263/0.6446, allocations: 0.5986 MB / 1.581 GB, free: 8.77 MB / 1.279 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/0.6475, allocations: 1.834 MB / 1.582 GB, free: 6.859 MB / 1.279 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007648/0.6483, allocations: 1.088 MB / 1.583 GB, free: 5.738 MB / 1.279 GB
Notification: Performance of simCode: alias equations: time 0.0006687/0.6489, allocations: 215.6 kB / 1.584 GB, free: 5.523 MB / 1.279 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.6491, allocations: 71.44 kB / 1.584 GB, free: 5.453 MB / 1.279 GB
Notification: Performance of SimCode: time 5.61e-07/0.6491, allocations: 0 / 1.584 GB, free: 5.453 MB / 1.279 GB
Notification: Performance of Templates: time 0.0338/0.6829, allocations: 20.74 MB / 1.604 GB, free: 0.9883 MB / 1.295 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 9.396326133050025]