Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.001547/0.001547, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001521/0.001521, allocations: 188.6 kB / 22.23 MB, free: 5.137 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.33/1.33, allocations: 225.6 MB / 251 MB, free: 13.02 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.872/2.872, allocations: 0.4893 GB / 0.7884 GB, free: 33.31 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.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modWatRev.conEqn.sta_a.T|modWatRev.conEqn.sta_b.T|modWatNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_b.T|modAirNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_a.X.1.|modAirRev.conEqn.sta_b.X.1.|modAirNoRev.conEqn.sta_b.X.1.|QSen_flow.y|mWat_flow.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modWatRev.conEqn.sta_a.T|modWatRev.conEqn.sta_b.T|modWatNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_b.T|modAirNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_a.X.1.|modAirRev.conEqn.sta_b.X.1.|modAirNoRev.conEqn.sta_b.X.1.|QSen_flow.y|mWat_flow.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 69.78 kB / 1.145 GB, free: 30.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3039, allocations: 174.9 MB / 1.316 GB, free: 9.719 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2039/0.5078, allocations: 195.2 MB / 1.507 GB, free: 5.793 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.0103/0.5181, allocations: 6.975 MB / 1.513 GB, free: 14.8 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009577/0.5191, allocations: 63.38 kB / 1.514 GB, free: 14.74 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001912/0.521, allocations: 0.7142 MB / 1.514 GB, free: 14.02 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005547/0.5265, allocations: 2.478 MB / 1.517 GB, free: 11.53 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003215/0.5298, allocations: 1.503 MB / 1.518 GB, free: 10.05 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003723/0.5335, allocations: 3.04 MB / 1.521 GB, free: 7.004 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009798/0.5345, allocations: 0.701 MB / 1.522 GB, free: 6.289 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003244/0.5377, allocations: 1.613 MB / 1.523 GB, free: 4.676 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001238/0.5389, allocations: 0.848 MB / 1.524 GB, free: 3.832 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001693/0.5391, allocations: 104 kB / 1.524 GB, free: 3.73 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003653/0.5428, allocations: 2.163 MB / 1.526 GB, free: 1.562 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003988/0.5432, allocations: 374.8 kB / 1.527 GB, free: 1.195 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0006376/0.5438, allocations: 0.5908 MB / 1.527 GB, free: 0.6016 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00354/0.5473, allocations: 2.402 MB / 1.53 GB, free: 14.19 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.5473, allocations: 0 / 1.53 GB, free: 14.19 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5474, allocations: 0 / 1.53 GB, free: 14.19 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.698e-05/0.5474, allocations: 0 / 1.53 GB, free: 14.19 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003348/0.5507, allocations: 1.598 MB / 1.531 GB, free: 12.55 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.5508, allocations: 8.031 kB / 1.531 GB, free: 12.54 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002862/0.5536, allocations: 0.5416 MB / 1.532 GB, free: 12 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002181/0.5558, allocations: 0.9663 MB / 1.533 GB, free: 11 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.587e-05/0.5559, allocations: 57.31 kB / 1.533 GB, free: 10.95 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.556, allocations: 68 kB / 1.533 GB, free: 10.88 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002412/0.5584, allocations: 1.109 MB / 1.534 GB, free: 9.742 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.5584, allocations: 3.938 kB / 1.534 GB, free: 9.738 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-05/0.5585, allocations: 27.94 kB / 1.534 GB, free: 9.711 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.795e-05/0.5585, allocations: 37.3 kB / 1.534 GB, free: 9.672 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003003/0.5616, allocations: 1.157 MB / 1.535 GB, free: 8.516 MB / 1.232 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005449/0.567, allocations: 3.121 MB / 1.538 GB, free: 5.328 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.5687, allocations: 0.6528 MB / 1.539 GB, free: 4.664 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007922/0.5695, allocations: 390.1 kB / 1.539 GB, free: 4.277 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004599/0.5699, allocations: 132.3 kB / 1.539 GB, free: 4.148 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/0.5709, allocations: 0.5139 MB / 1.54 GB, free: 3.609 MB / 1.232 GB Notification: Performance of pre-optimization done (n=57): time 4.338e-06/0.5709, allocations: 4 kB / 1.54 GB, free: 3.605 MB / 1.232 GB Notification: Performance of matching and sorting (n=57): time 0.002974/0.5739, allocations: 1.229 MB / 1.541 GB, free: 2.363 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.119e-05/0.574, allocations: 144.8 kB / 1.541 GB, free: 2.191 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/0.5759, allocations: 1.176 MB / 1.542 GB, free: 1 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 7.141e-05/0.5759, allocations: 41.64 kB / 1.542 GB, free: 0.9531 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003931/0.5763, allocations: 441.8 kB / 1.543 GB, free: 0.5156 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/0.5765, allocations: 202.3 kB / 1.543 GB, free: 324 kB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002723/0.5768, allocations: 138.2 kB / 1.543 GB, free: 176 kB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.5769, allocations: 334 kB / 1.543 GB, free: 15.84 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/0.5782, allocations: 437 kB / 1.544 GB, free: 15.41 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/0.5796, allocations: 0.598 MB / 1.544 GB, free: 14.77 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002057/0.5817, allocations: 0.9215 MB / 1.545 GB, free: 13.79 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5817, allocations: 0 / 1.545 GB, free: 13.79 MB / 1.248 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003055/0.5847, allocations: 1.204 MB / 1.546 GB, free: 12.57 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 5.865e-05/0.5848, allocations: 41.69 kB / 1.546 GB, free: 12.53 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.5848, allocations: 4 kB / 1.546 GB, free: 12.52 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.5848, allocations: 4 kB / 1.546 GB, free: 12.52 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009242/0.5857, allocations: 188 kB / 1.547 GB, free: 12.34 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.5857, allocations: 15.94 kB / 1.547 GB, free: 12.32 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.5871, allocations: 235.2 kB / 1.547 GB, free: 12.09 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.67e-05/0.5872, allocations: 47.97 kB / 1.547 GB, free: 12.04 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004496/0.5877, allocations: 324 kB / 1.547 GB, free: 11.71 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/0.5879, allocations: 119.2 kB / 1.547 GB, free: 11.59 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002109/0.59, allocations: 1.001 MB / 1.548 GB, free: 10.59 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.59, allocations: 11.98 kB / 1.548 GB, free: 10.57 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.59, allocations: 4.453 kB / 1.548 GB, free: 10.57 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.59, allocations: 0 / 1.548 GB, free: 10.57 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004798/0.5948, allocations: 3.148 MB / 1.551 GB, free: 7.277 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/0.5948, allocations: 15.92 kB / 1.551 GB, free: 7.262 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005672/0.5954, allocations: 123.8 kB / 1.552 GB, free: 7.141 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/0.5954, allocations: 8.188 kB / 1.552 GB, free: 7.133 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.735e-05/0.5955, allocations: 31.98 kB / 1.552 GB, free: 7.102 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.084e-05/0.5955, allocations: 11.94 kB / 1.552 GB, free: 7.09 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/0.5955, allocations: 11.94 kB / 1.552 GB, free: 7.078 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002122/0.5976, allocations: 1.362 MB / 1.553 GB, free: 5.598 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00053/0.5981, allocations: 254.9 kB / 1.553 GB, free: 5.348 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.5983, allocations: 23.98 kB / 1.553 GB, free: 5.324 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/0.5993, allocations: 99.91 kB / 1.553 GB, free: 5.227 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.5994, allocations: 59.73 kB / 1.553 GB, free: 5.168 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.668e-05/0.5995, allocations: 47.91 kB / 1.553 GB, free: 5.121 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001406/0.6009, allocations: 0.8482 MB / 1.554 GB, free: 4.266 MB / 1.248 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6009, allocations: 0 / 1.554 GB, free: 4.266 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.000957/0.6019, allocations: 299.6 kB / 1.555 GB, free: 3.973 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006613/0.6025, allocations: 343.8 kB / 1.555 GB, free: 3.641 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002279/0.6048, allocations: 0.9743 MB / 1.556 GB, free: 2.66 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.6048, allocations: 4 kB / 1.556 GB, free: 2.656 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.000901/0.6057, allocations: 488.7 kB / 1.556 GB, free: 2.168 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002462/0.6082, allocations: 0.5432 MB / 1.557 GB, free: 1.629 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003429/0.6116, allocations: 2.076 MB / 1.559 GB, free: 15.43 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006957/0.6123, allocations: 1.065 MB / 1.56 GB, free: 14.33 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0008803/0.6132, allocations: 273.4 kB / 1.56 GB, free: 14.06 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.6134, allocations: 83.41 kB / 1.56 GB, free: 13.98 MB / 1.264 GB Notification: Performance of SimCode: time 5.61e-07/0.6134, allocations: 0 / 1.56 GB, free: 13.98 MB / 1.264 GB Notification: Performance of Templates: time 0.03654/0.65, allocations: 22.7 MB / 1.582 GB, free: 7.492 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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: 8.841873223893344]