Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002069/0.002069, allocations: 213.8 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.712/2.712, allocations: 476 MB / 0.7707 GB, free: 4.773 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_11_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_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 69.95 kB / 1.118 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3437, allocations: 170 MB / 1.284 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2263/0.57, allocations: 171.9 MB / 1.452 GB, free: 15.48 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01217/0.5822, allocations: 6.568 MB / 1.458 GB, free: 8.902 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001932/0.5841, allocations: 63.44 kB / 1.458 GB, free: 8.84 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002226/0.5863, allocations: 0.6869 MB / 1.459 GB, free: 8.148 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.007032/0.5934, allocations: 2.412 MB / 1.461 GB, free: 5.727 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004019/0.5974, allocations: 1.459 MB / 1.463 GB, free: 4.289 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004833/0.6022, allocations: 3.017 MB / 1.466 GB, free: 1.262 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001441/0.6036, allocations: 0.7088 MB / 1.466 GB, free: 0.5391 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003255/0.6069, allocations: 1.18 MB / 1.467 GB, free: 15.36 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0017/0.6086, allocations: 0.8291 MB / 1.468 GB, free: 14.53 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002156/0.6088, allocations: 100 kB / 1.468 GB, free: 14.43 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003703/0.6125, allocations: 1.679 MB / 1.47 GB, free: 12.75 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005133/0.613, allocations: 382.6 kB / 1.47 GB, free: 12.38 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0007133/0.6137, allocations: 481.7 kB / 1.471 GB, free: 11.91 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003864/0.6176, allocations: 2.344 MB / 1.473 GB, free: 9.555 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.6176, allocations: 0 / 1.473 GB, free: 9.555 MB / 1.17 GB Notification: Performance of FrontEnd: time 3.176e-06/0.6176, allocations: 0 / 1.473 GB, free: 9.555 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.451e-05/0.6176, allocations: 0 / 1.473 GB, free: 9.555 MB / 1.17 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.003473/0.6211, allocations: 1.598 MB / 1.475 GB, free: 7.914 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.6212, allocations: 8.031 kB / 1.475 GB, free: 7.906 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002893/0.6241, allocations: 0.5416 MB / 1.475 GB, free: 7.363 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002378/0.6264, allocations: 0.9625 MB / 1.476 GB, free: 6.371 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-05/0.6265, allocations: 57.31 kB / 1.476 GB, free: 6.316 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.6266, allocations: 64 kB / 1.476 GB, free: 6.254 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002597/0.6292, allocations: 1.242 MB / 1.477 GB, free: 4.953 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.6292, allocations: 3.938 kB / 1.477 GB, free: 4.949 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.632e-05/0.6293, allocations: 28 kB / 1.477 GB, free: 4.922 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.293e-05/0.6294, allocations: 33.3 kB / 1.477 GB, free: 4.891 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003111/0.6325, allocations: 1.189 MB / 1.479 GB, free: 3.695 MB / 1.17 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.005675/0.6382, allocations: 2.717 MB / 1.481 GB, free: 0.9141 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/0.6399, allocations: 0.674 MB / 1.482 GB, free: 232 kB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008582/0.6408, allocations: 427.8 kB / 1.482 GB, free: 15.8 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004934/0.6413, allocations: 128.3 kB / 1.482 GB, free: 15.67 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00115/0.6424, allocations: 0.6472 MB / 1.483 GB, free: 14.97 MB / 1.186 GB Notification: Performance of pre-optimization done (n=57): time 2.335e-06/0.6424, allocations: 4 kB / 1.483 GB, free: 14.96 MB / 1.186 GB Notification: Performance of matching and sorting (n=57): time 0.003055/0.6455, allocations: 1.264 MB / 1.484 GB, free: 13.68 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.6456, allocations: 136.9 kB / 1.484 GB, free: 13.52 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/0.6472, allocations: 0.8878 MB / 1.485 GB, free: 12.62 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 8.181e-05/0.6473, allocations: 37.7 kB / 1.485 GB, free: 12.58 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004357/0.6477, allocations: 464.5 kB / 1.486 GB, free: 12.12 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/0.6479, allocations: 198.3 kB / 1.486 GB, free: 11.92 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000269/0.6482, allocations: 142.2 kB / 1.486 GB, free: 11.78 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.6484, allocations: 337.8 kB / 1.486 GB, free: 11.44 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/0.6496, allocations: 470.7 kB / 1.487 GB, free: 10.98 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001686/0.6513, allocations: 0.9831 MB / 1.488 GB, free: 9.848 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002215/0.6535, allocations: 0.9374 MB / 1.489 GB, free: 8.855 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.6535, allocations: 0 / 1.489 GB, free: 8.855 MB / 1.186 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003272/0.6568, allocations: 1.222 MB / 1.49 GB, free: 7.609 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 5.236e-05/0.6569, allocations: 33.7 kB / 1.49 GB, free: 7.57 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.6569, allocations: 4 kB / 1.49 GB, free: 7.566 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.6569, allocations: 4 kB / 1.49 GB, free: 7.562 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009221/0.6578, allocations: 192 kB / 1.49 GB, free: 7.375 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.73e-05/0.6578, allocations: 11.98 kB / 1.49 GB, free: 7.363 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.6592, allocations: 219.3 kB / 1.49 GB, free: 7.148 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.048e-05/0.6593, allocations: 35.97 kB / 1.49 GB, free: 7.113 MB / 1.186 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.000537/0.6598, allocations: 327.3 kB / 1.491 GB, free: 6.777 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.66, allocations: 95.39 kB / 1.491 GB, free: 6.684 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/0.6622, allocations: 1.01 MB / 1.492 GB, free: 5.664 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.05e-05/0.6622, allocations: 12 kB / 1.492 GB, free: 5.652 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.6622, allocations: 0 / 1.492 GB, free: 5.652 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.6622, allocations: 7.922 kB / 1.492 GB, free: 5.645 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005131/0.6674, allocations: 2.937 MB / 1.495 GB, free: 2.562 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/0.6674, allocations: 8.562 kB / 1.495 GB, free: 2.555 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005842/0.668, allocations: 119.8 kB / 1.495 GB, free: 2.438 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-05/0.668, allocations: 12 kB / 1.495 GB, free: 2.426 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-05/0.668, allocations: 23.98 kB / 1.495 GB, free: 2.402 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-05/0.668, allocations: 19.94 kB / 1.495 GB, free: 2.383 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/0.668, allocations: 8 kB / 1.495 GB, free: 2.375 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/0.6704, allocations: 1.375 MB / 1.496 GB, free: 0.8711 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000554/0.671, allocations: 219.1 kB / 1.496 GB, free: 0.6562 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.6711, allocations: 23.94 kB / 1.496 GB, free: 0.6328 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.6721, allocations: 107.9 kB / 1.497 GB, free: 0.5273 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.6722, allocations: 63.67 kB / 1.497 GB, free: 476 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.335e-05/0.6723, allocations: 35.98 kB / 1.497 GB, free: 440 kB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001224/0.6735, allocations: 0.6434 MB / 1.497 GB, free: 15.79 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.6735, allocations: 0 / 1.497 GB, free: 15.79 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001091/0.6746, allocations: 323.3 kB / 1.498 GB, free: 15.47 MB / 1.201 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.0006336/0.6753, allocations: 339 kB / 1.498 GB, free: 15.14 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002553/0.6778, allocations: 1.036 MB / 1.499 GB, free: 14.08 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.6778, allocations: 0 / 1.499 GB, free: 14.08 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0009971/0.6788, allocations: 0.5025 MB / 1.499 GB, free: 13.56 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002036/0.6809, allocations: 385.1 kB / 1.5 GB, free: 13.2 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003991/0.6849, allocations: 2.093 MB / 1.502 GB, free: 10.96 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000546/0.6854, allocations: 477.6 kB / 1.502 GB, free: 10.46 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003242/0.6857, allocations: 75.41 kB / 1.502 GB, free: 10.39 MB / 1.201 GB Notification: Performance of SimCode: time 6.82e-07/0.6857, allocations: 0 / 1.502 GB, free: 10.39 MB / 1.201 GB Notification: Performance of Templates: time 0.02807/0.7138, allocations: 16.77 MB / 1.519 GB, free: 9.738 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.217928257770836]