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.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.00147/0.00147, allocations: 105.8 kB / 19.69 MB, free: 2.258 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.001605/0.001605, allocations: 209.9 kB / 23 MB, free: 5.113 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.319/1.319, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.903/2.903, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: 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.001899/0.001899, allocations: 74.38 kB / 1.178 GB, free: 16.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3013, allocations: 180.2 MB / 1.354 GB, free: 7.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2141/0.5154, allocations: 198.2 MB / 1.548 GB, free: 1.066 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01095/0.5263, allocations: 6.963 MB / 1.554 GB, free: 10.09 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.5276, allocations: 63.38 kB / 1.554 GB, free: 10.03 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.00172/0.5293, allocations: 0.7181 MB / 1.555 GB, free: 9.305 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.005913/0.5352, allocations: 2.474 MB / 1.558 GB, free: 6.82 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.003519/0.5387, allocations: 1.5 MB / 1.559 GB, free: 5.34 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.004588/0.5433, allocations: 3.044 MB / 1.562 GB, free: 2.285 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001286/0.5446, allocations: 0.7128 MB / 1.563 GB, free: 1.555 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003749/0.5484, allocations: 1.616 MB / 1.564 GB, free: 15.94 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001439/0.5498, allocations: 0.8347 MB / 1.565 GB, free: 15.11 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0001833/0.55, allocations: 100 kB / 1.565 GB, free: 15.01 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003876/0.5539, allocations: 2.175 MB / 1.567 GB, free: 12.83 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0004453/0.5543, allocations: 378.7 kB / 1.568 GB, free: 12.46 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0006902/0.555, allocations: 0.583 MB / 1.568 GB, free: 11.87 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.003691/0.5587, allocations: 2.402 MB / 1.571 GB, free: 9.461 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5587, allocations: 0 / 1.571 GB, free: 9.461 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5587, allocations: 0 / 1.571 GB, free: 9.461 MB / 1.264 GB Notification: Performance of Transformations before backend: time 1.504e-05/0.5587, allocations: 4 kB / 1.571 GB, free: 9.457 MB / 1.264 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.003321/0.562, allocations: 1.594 MB / 1.572 GB, free: 7.82 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.5621, allocations: 12.03 kB / 1.572 GB, free: 7.809 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002789/0.5649, allocations: 0.5377 MB / 1.573 GB, free: 7.27 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002336/0.5672, allocations: 0.9819 MB / 1.574 GB, free: 6.258 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.86e-05/0.5672, allocations: 53.31 kB / 1.574 GB, free: 6.207 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.5674, allocations: 64 kB / 1.574 GB, free: 6.145 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002311/0.5697, allocations: 1.101 MB / 1.575 GB, free: 5.016 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.5697, allocations: 7.922 kB / 1.575 GB, free: 5.008 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.475e-05/0.5698, allocations: 31.98 kB / 1.575 GB, free: 4.977 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.324e-05/0.5698, allocations: 33.31 kB / 1.575 GB, free: 4.945 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002838/0.5727, allocations: 1.161 MB / 1.576 GB, free: 3.785 MB / 1.264 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.005457/0.5781, allocations: 3.117 MB / 1.579 GB, free: 0.5898 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.5797, allocations: 0.6497 MB / 1.58 GB, free: 15.94 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007512/0.5805, allocations: 399.2 kB / 1.58 GB, free: 15.55 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004804/0.5809, allocations: 140.3 kB / 1.58 GB, free: 15.41 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009704/0.5819, allocations: 0.51 MB / 1.581 GB, free: 14.88 MB / 1.279 GB Notification: Performance of pre-optimization done (n=57): time 1.653e-06/0.5819, allocations: 0 / 1.581 GB, free: 14.88 MB / 1.279 GB Notification: Performance of matching and sorting (n=57): time 0.00279/0.5847, allocations: 1.229 MB / 1.582 GB, free: 13.63 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/0.5848, allocations: 148.8 kB / 1.582 GB, free: 13.46 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/0.5865, allocations: 1.172 MB / 1.583 GB, free: 12.27 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 6.546e-05/0.5866, allocations: 37.7 kB / 1.583 GB, free: 12.23 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003793/0.587, allocations: 441.9 kB / 1.584 GB, free: 11.79 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/0.5872, allocations: 206.2 kB / 1.584 GB, free: 11.59 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002484/0.5874, allocations: 146.2 kB / 1.584 GB, free: 11.44 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0002078/0.5876, allocations: 330 kB / 1.584 GB, free: 11.11 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.5888, allocations: 441 kB / 1.585 GB, free: 10.68 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/0.5901, allocations: 0.5941 MB / 1.585 GB, free: 10.04 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001954/0.592, allocations: 0.9293 MB / 1.586 GB, free: 9.051 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.592, allocations: 4 kB / 1.586 GB, free: 9.047 MB / 1.279 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002838/0.5949, allocations: 1.197 MB / 1.587 GB, free: 7.832 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.574e-05/0.5949, allocations: 41.69 kB / 1.587 GB, free: 7.785 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.5949, allocations: 0 / 1.587 GB, free: 7.785 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.5949, allocations: 8.281 kB / 1.587 GB, free: 7.777 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008887/0.5958, allocations: 191.7 kB / 1.588 GB, free: 7.59 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.5958, allocations: 7.938 kB / 1.588 GB, free: 7.582 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.5971, allocations: 243.1 kB / 1.588 GB, free: 7.344 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.518e-05/0.5972, allocations: 35.98 kB / 1.588 GB, free: 7.309 MB / 1.279 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.0004688/0.5977, allocations: 331.9 kB / 1.588 GB, free: 6.969 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/0.5979, allocations: 127.2 kB / 1.588 GB, free: 6.844 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002052/0.5999, allocations: 1.003 MB / 1.589 GB, free: 5.836 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.5999, allocations: 4 kB / 1.589 GB, free: 5.832 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.6, allocations: 11.94 kB / 1.589 GB, free: 5.82 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.6, allocations: 3.984 kB / 1.589 GB, free: 5.816 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004798/0.6048, allocations: 3.134 MB / 1.592 GB, free: 2.535 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.146e-06/0.6048, allocations: 8 kB / 1.592 GB, free: 2.527 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005581/0.6053, allocations: 124.1 kB / 1.593 GB, free: 2.406 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.088e-05/0.6053, allocations: 8.516 kB / 1.593 GB, free: 2.398 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.636e-05/0.6054, allocations: 27.98 kB / 1.593 GB, free: 2.371 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.411e-05/0.6054, allocations: 19.92 kB / 1.593 GB, free: 2.352 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.786e-06/0.6054, allocations: 11.94 kB / 1.593 GB, free: 2.34 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002125/0.6075, allocations: 1.358 MB / 1.594 GB, free: 0.8594 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005435/0.6081, allocations: 262.9 kB / 1.594 GB, free: 0.6016 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/0.6082, allocations: 27.94 kB / 1.594 GB, free: 0.5742 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.6092, allocations: 103.9 kB / 1.594 GB, free: 484 kB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.6094, allocations: 59.75 kB / 1.594 GB, free: 424 kB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.698e-05/0.6094, allocations: 39.97 kB / 1.594 GB, free: 384 kB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001403/0.6108, allocations: 0.8482 MB / 1.595 GB, free: 15.52 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6108, allocations: 3.938 kB / 1.595 GB, free: 15.52 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0009519/0.6118, allocations: 299.6 kB / 1.596 GB, free: 15.22 MB / 1.295 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.000547/0.6123, allocations: 329.3 kB / 1.596 GB, free: 14.9 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.002205/0.6145, allocations: 0.9704 MB / 1.597 GB, free: 13.91 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.6145, allocations: 4 kB / 1.597 GB, free: 13.91 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0008704/0.6154, allocations: 480.8 kB / 1.597 GB, free: 13.43 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002361/0.6178, allocations: 0.5486 MB / 1.598 GB, free: 12.89 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00347/0.6212, allocations: 2.108 MB / 1.6 GB, free: 10.64 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007143/0.622, allocations: 1.065 MB / 1.601 GB, free: 9.551 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003106/0.6223, allocations: 95.39 kB / 1.601 GB, free: 9.457 MB / 1.295 GB Notification: Performance of SimCode: time 3.9e-07/0.6223, allocations: 4 kB / 1.601 GB, free: 9.453 MB / 1.295 GB Notification: Performance of Templates: time 0.5435/1.166, allocations: 18.86 MB / 1.619 GB, free: 250.2 MB / 1.295 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/jenkins1/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: 12.778070567001123]