Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001679/0.001679, allocations: 110 kB / 18.94 MB, free: 2.793 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.002186/0.002186, allocations: 191.4 kB / 22.23 MB, free: 5.234 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.467/1.467, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.641/2.641, allocations: 443.5 MB / 0.7321 GB, free: 12.24 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/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_10_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_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 75.88 kB / 1.061 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9545/0.9565, allocations: 160.8 MB / 1.218 GB, free: 3.711 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.258/1.214, allocations: 195.1 MB / 1.409 GB, free: 3.402 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01486/1.229, allocations: 6.993 MB / 1.416 GB, free: 12.4 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002354/1.232, allocations: 67.38 kB / 1.416 GB, free: 12.33 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002689/1.234, allocations: 0.7064 MB / 1.417 GB, free: 11.62 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.007769/1.242, allocations: 2.482 MB / 1.419 GB, free: 9.129 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004451/1.247, allocations: 1.496 MB / 1.42 GB, free: 7.648 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.005155/1.252, allocations: 3.081 MB / 1.423 GB, free: 4.562 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001579/1.253, allocations: 0.705 MB / 1.424 GB, free: 3.844 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003242/1.257, allocations: 1.167 MB / 1.425 GB, free: 2.68 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002059/1.259, allocations: 0.8718 MB / 1.426 GB, free: 1.809 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0004041/1.259, allocations: 96 kB / 1.426 GB, free: 1.715 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005284/1.264, allocations: 2.202 MB / 1.428 GB, free: 15.51 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0007763/1.265, allocations: 370.7 kB / 1.429 GB, free: 15.14 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001382/1.266, allocations: 0.5869 MB / 1.429 GB, free: 14.55 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.005796/1.272, allocations: 2.402 MB / 1.432 GB, free: 12.14 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.272, allocations: 0 / 1.432 GB, free: 12.14 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.793e-06/1.272, allocations: 4 kB / 1.432 GB, free: 12.14 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.242e-05/1.272, allocations: 0 / 1.432 GB, free: 12.14 MB / 1.139 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.004532/1.277, allocations: 1.677 MB / 1.433 GB, free: 10.4 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/1.277, allocations: 12.03 kB / 1.433 GB, free: 10.39 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003052/1.28, allocations: 0.5338 MB / 1.434 GB, free: 9.855 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002849/1.283, allocations: 1.046 MB / 1.435 GB, free: 8.762 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.311e-05/1.283, allocations: 57.31 kB / 1.435 GB, free: 8.707 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/1.283, allocations: 68 kB / 1.435 GB, free: 8.641 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002855/1.286, allocations: 1.105 MB / 1.436 GB, free: 7.508 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/1.286, allocations: 7.875 kB / 1.436 GB, free: 7.5 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/1.286, allocations: 28 kB / 1.436 GB, free: 7.473 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-05/1.286, allocations: 37.31 kB / 1.436 GB, free: 7.438 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00328/1.289, allocations: 1.164 MB / 1.437 GB, free: 6.273 MB / 1.139 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.007159/1.297, allocations: 3.156 MB / 1.44 GB, free: 3.039 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/1.298, allocations: 0.6489 MB / 1.441 GB, free: 2.383 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008414/1.299, allocations: 394.1 kB / 1.441 GB, free: 1.996 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001119/1.3, allocations: 1.021 MB / 1.442 GB, free: 0.75 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001106/1.301, allocations: 0.5139 MB / 1.443 GB, free: 216 kB / 1.139 GB Notification: Performance of pre-optimization done (n=57): time 2.595e-06/1.301, allocations: 0 / 1.443 GB, free: 216 kB / 1.139 GB Notification: Performance of matching and sorting (n=57): time 0.003254/1.305, allocations: 1.229 MB / 1.444 GB, free: 14.97 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/1.305, allocations: 144.8 kB / 1.444 GB, free: 14.8 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/1.307, allocations: 1.176 MB / 1.445 GB, free: 13.61 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.000132/1.307, allocations: 45.7 kB / 1.445 GB, free: 13.55 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004301/1.308, allocations: 441.8 kB / 1.446 GB, free: 13.12 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002172/1.308, allocations: 198.3 kB / 1.446 GB, free: 12.93 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003005/1.308, allocations: 146.2 kB / 1.446 GB, free: 12.78 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001506/1.308, allocations: 334 kB / 1.446 GB, free: 12.45 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/1.31, allocations: 437 kB / 1.447 GB, free: 12.02 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/1.311, allocations: 0.5941 MB / 1.447 GB, free: 11.38 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00213/1.313, allocations: 0.9296 MB / 1.448 GB, free: 10.39 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/1.313, allocations: 11.94 kB / 1.448 GB, free: 10.38 MB / 1.154 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003308/1.317, allocations: 1.197 MB / 1.45 GB, free: 9.168 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 5.389e-05/1.317, allocations: 37.69 kB / 1.45 GB, free: 9.125 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/1.317, allocations: 4 kB / 1.45 GB, free: 9.121 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/1.317, allocations: 4.281 kB / 1.45 GB, free: 9.117 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009537/1.318, allocations: 191.7 kB / 1.45 GB, free: 8.93 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/1.318, allocations: 11.94 kB / 1.45 GB, free: 8.918 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/1.319, allocations: 247.1 kB / 1.45 GB, free: 8.676 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-05/1.319, allocations: 31.98 kB / 1.45 GB, free: 8.645 MB / 1.154 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.0005571/1.32, allocations: 332.9 kB / 1.45 GB, free: 8.305 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002206/1.32, allocations: 119.2 kB / 1.45 GB, free: 8.188 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002292/1.322, allocations: 0.9989 MB / 1.451 GB, free: 7.18 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/1.322, allocations: 16 kB / 1.451 GB, free: 7.164 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/1.322, allocations: 7.938 kB / 1.451 GB, free: 7.156 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/1.322, allocations: 3.984 kB / 1.452 GB, free: 7.152 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005316/1.328, allocations: 3.177 MB / 1.455 GB, free: 3.816 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/1.328, allocations: 8 kB / 1.455 GB, free: 3.809 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006094/1.328, allocations: 120.2 kB / 1.455 GB, free: 3.691 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.818e-05/1.328, allocations: 12 kB / 1.455 GB, free: 3.68 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.828e-05/1.328, allocations: 27.98 kB / 1.455 GB, free: 3.652 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.697e-05/1.328, allocations: 15.92 kB / 1.455 GB, free: 3.637 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/1.328, allocations: 8 kB / 1.455 GB, free: 3.629 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002342/1.331, allocations: 1.362 MB / 1.456 GB, free: 2.152 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006596/1.331, allocations: 336 kB / 1.456 GB, free: 1.805 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/1.332, allocations: 20 kB / 1.456 GB, free: 1.785 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/1.333, allocations: 107.9 kB / 1.457 GB, free: 1.68 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/1.333, allocations: 63.69 kB / 1.457 GB, free: 1.617 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.986e-05/1.333, allocations: 35.97 kB / 1.457 GB, free: 1.582 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001557/1.334, allocations: 0.8482 MB / 1.457 GB, free: 0.7266 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/1.334, allocations: 4 kB / 1.457 GB, free: 0.7227 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001107/1.335, allocations: 295.6 kB / 1.458 GB, free: 444 kB / 1.154 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.000745/1.336, allocations: 352.1 kB / 1.458 GB, free: 96 kB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00243/1.339, allocations: 0.9703 MB / 1.459 GB, free: 15.11 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/1.339, allocations: 4 kB / 1.459 GB, free: 15.11 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009912/1.34, allocations: 486.3 kB / 1.46 GB, free: 14.62 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002654/1.342, allocations: 0.5554 MB / 1.46 GB, free: 14.08 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00388/1.346, allocations: 2.066 MB / 1.462 GB, free: 11.88 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007821/1.347, allocations: 1.073 MB / 1.463 GB, free: 10.78 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009927/1.348, allocations: 271.3 kB / 1.463 GB, free: 10.52 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002422/1.348, allocations: 83.41 kB / 1.463 GB, free: 10.43 MB / 1.17 GB Notification: Performance of SimCode: time 7.51e-07/1.348, allocations: 0 / 1.463 GB, free: 10.43 MB / 1.17 GB Notification: Performance of Templates: time 0.04222/1.39, allocations: 22.7 MB / 1.486 GB, free: 3.918 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.973828373476863]