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.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.001393/0.001393, allocations: 110.2 kB / 18.93 MB, free: 2.945 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.002218/0.002218, allocations: 192 kB / 22.23 MB, free: 5.16 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.474/1.474, 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 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.872/2.872, allocations: 476.7 MB / 0.7646 GB, free: 9.863 MB / 0.6231 GB
"
[Timeout remaining time 176]
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.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_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: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 67.89 kB / 1.11 GB, free: 6.305 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9602/0.9623, allocations: 168.8 MB / 1.274 GB, free: 4.168 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2497/1.212, allocations: 195.1 MB / 1.465 GB, free: 328 kB / 1.154 GB
Notification: Performance of NFInst.instExpressions: time 0.01514/1.227, allocations: 6.978 MB / 1.472 GB, free: 9.332 MB / 1.17 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002186/1.229, allocations: 63.38 kB / 1.472 GB, free: 9.27 MB / 1.17 GB
Notification: Performance of NFTyping.typeComponents: time 0.002187/1.232, allocations: 0.7103 MB / 1.472 GB, free: 8.555 MB / 1.17 GB
Notification: Performance of NFTyping.typeBindings: time 0.007856/1.239, allocations: 2.49 MB / 1.475 GB, free: 6.055 MB / 1.17 GB
Notification: Performance of NFTyping.typeClassSections: time 0.004313/1.244, allocations: 1.497 MB / 1.476 GB, free: 4.578 MB / 1.17 GB
Notification: Performance of NFFlatten.flatten: time 0.005509/1.249, allocations: 3.048 MB / 1.479 GB, free: 1.516 MB / 1.17 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001518/1.251, allocations: 0.705 MB / 1.48 GB, free: 0.7969 MB / 1.17 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.003276/1.254, allocations: 1.178 MB / 1.481 GB, free: 15.62 MB / 1.186 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.001667/1.256, allocations: 0.8543 MB / 1.482 GB, free: 14.77 MB / 1.186 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001991/1.256, allocations: 96 kB / 1.482 GB, free: 14.68 MB / 1.186 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.004545/1.26, allocations: 2.198 MB / 1.484 GB, free: 12.47 MB / 1.186 GB
Notification: Performance of NFScalarize.scalarize: time 0.0005132/1.261, allocations: 378.8 kB / 1.485 GB, free: 12.1 MB / 1.186 GB
Notification: Performance of NFVerifyModel.verify: time 0.0008501/1.262, allocations: 0.5986 MB / 1.485 GB, free: 11.5 MB / 1.186 GB
Notification: Performance of NFConvertDAE.convert: time 0.005461/1.267, allocations: 2.391 MB / 1.488 GB, free: 9.102 MB / 1.186 GB
Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/1.267, allocations: 0 / 1.488 GB, free: 9.102 MB / 1.186 GB
Notification: Performance of FrontEnd: time 2.364e-06/1.267, allocations: 4 kB / 1.488 GB, free: 9.098 MB / 1.186 GB
Notification: Performance of Transformations before backend: time 4.444e-05/1.267, allocations: 0 / 1.488 GB, free: 9.098 MB / 1.186 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.004919/1.272, allocations: 1.598 MB / 1.489 GB, free: 7.457 MB / 1.186 GB
Notification: Performance of prepare preOptimizeDAE: time 7.047e-05/1.272, allocations: 8.031 kB / 1.489 GB, free: 7.449 MB / 1.186 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002956/1.275, allocations: 0.5377 MB / 1.49 GB, free: 6.91 MB / 1.186 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002455/1.278, allocations: 0.9625 MB / 1.491 GB, free: 5.918 MB / 1.186 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.535e-05/1.278, allocations: 57.31 kB / 1.491 GB, free: 5.863 MB / 1.186 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/1.278, allocations: 71.92 kB / 1.491 GB, free: 5.793 MB / 1.186 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002425/1.28, allocations: 1.105 MB / 1.492 GB, free: 4.66 MB / 1.186 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/1.28, allocations: 7.875 kB / 1.492 GB, free: 4.652 MB / 1.186 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.434e-05/1.28, allocations: 28 kB / 1.492 GB, free: 4.625 MB / 1.186 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.616e-05/1.281, allocations: 37.3 kB / 1.492 GB, free: 4.586 MB / 1.186 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002867/1.283, allocations: 1.161 MB / 1.493 GB, free: 3.426 MB / 1.186 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.005993/1.289, allocations: 3.121 MB / 1.496 GB, free: 236 kB / 1.186 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001757/1.291, allocations: 0.6567 MB / 1.497 GB, free: 15.56 MB / 1.201 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0007973/1.292, allocations: 391.5 kB / 1.497 GB, free: 15.18 MB / 1.201 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005478/1.293, allocations: 132.2 kB / 1.497 GB, free: 15.05 MB / 1.201 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001134/1.294, allocations: 0.5178 MB / 1.498 GB, free: 14.51 MB / 1.201 GB
Notification: Performance of pre-optimization done (n=57): time 2.605e-06/1.294, allocations: 0 / 1.498 GB, free: 14.51 MB / 1.201 GB
Notification: Performance of matching and sorting (n=57): time 0.003413/1.297, allocations: 1.229 MB / 1.499 GB, free: 13.27 MB / 1.201 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/1.297, allocations: 144.8 kB / 1.499 GB, free: 13.1 MB / 1.201 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002135/1.299, allocations: 1.176 MB / 1.5 GB, free: 11.91 MB / 1.201 GB
Notification: Performance of collectPreVariables (initialization): time 0.000112/1.299, allocations: 37.7 kB / 1.5 GB, free: 11.87 MB / 1.201 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0005124/1.3, allocations: 441.8 kB / 1.501 GB, free: 11.43 MB / 1.201 GB
Notification: Performance of collectInitialBindings (initialization): time 0.000252/1.3, allocations: 198.3 kB / 1.501 GB, free: 11.23 MB / 1.201 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003021/1.3, allocations: 150.2 kB / 1.501 GB, free: 11.08 MB / 1.201 GB
Notification: Performance of setup shared object (initialization): time 0.000177/1.301, allocations: 329.9 kB / 1.501 GB, free: 10.75 MB / 1.201 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/1.302, allocations: 441 kB / 1.502 GB, free: 10.32 MB / 1.201 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/1.303, allocations: 0.598 MB / 1.502 GB, free: 9.672 MB / 1.201 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002253/1.305, allocations: 0.9176 MB / 1.503 GB, free: 8.699 MB / 1.201 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/1.306, allocations: 0 / 1.503 GB, free: 8.699 MB / 1.201 GB
Notification: Performance of matching and sorting (n=72) (initialization): time 0.003293/1.309, allocations: 1.201 MB / 1.504 GB, free: 7.48 MB / 1.201 GB
Notification: Performance of prepare postOptimizeDAE: time 7.213e-05/1.309, allocations: 45.69 kB / 1.504 GB, free: 7.43 MB / 1.201 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/1.309, allocations: 0 / 1.504 GB, free: 7.43 MB / 1.201 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/1.309, allocations: 8 kB / 1.504 GB, free: 7.422 MB / 1.201 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009519/1.31, allocations: 192 kB / 1.505 GB, free: 7.234 MB / 1.201 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-05/1.31, allocations: 7.938 kB / 1.505 GB, free: 7.227 MB / 1.201 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/1.312, allocations: 247.1 kB / 1.505 GB, free: 6.984 MB / 1.201 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.404e-05/1.312, allocations: 35.97 kB / 1.505 GB, free: 6.949 MB / 1.201 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.000684/1.312, allocations: 331.3 kB / 1.505 GB, free: 6.609 MB / 1.201 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002623/1.313, allocations: 119.7 kB / 1.505 GB, free: 6.492 MB / 1.201 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002314/1.315, allocations: 1.002 MB / 1.506 GB, free: 5.492 MB / 1.201 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/1.315, allocations: 7.984 kB / 1.506 GB, free: 5.484 MB / 1.201 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/1.315, allocations: 7.938 kB / 1.506 GB, free: 5.477 MB / 1.201 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/1.315, allocations: 4.031 kB / 1.506 GB, free: 5.473 MB / 1.201 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006041/1.321, allocations: 3.141 MB / 1.509 GB, free: 2.184 MB / 1.201 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-05/1.321, allocations: 7.984 kB / 1.509 GB, free: 2.176 MB / 1.201 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006098/1.322, allocations: 124 kB / 1.509 GB, free: 2.055 MB / 1.201 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-05/1.322, allocations: 8 kB / 1.509 GB, free: 2.047 MB / 1.201 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.317e-05/1.322, allocations: 31.98 kB / 1.509 GB, free: 2.016 MB / 1.201 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.303e-05/1.322, allocations: 15.94 kB / 1.51 GB, free: 2 MB / 1.201 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.234e-05/1.322, allocations: 11.94 kB / 1.51 GB, free: 1.988 MB / 1.201 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002461/1.324, allocations: 1.359 MB / 1.511 GB, free: 0.5039 MB / 1.201 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.000684/1.325, allocations: 254.9 kB / 1.511 GB, free: 260 kB / 1.201 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002406/1.325, allocations: 23.98 kB / 1.511 GB, free: 236 kB / 1.201 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/1.326, allocations: 99.91 kB / 1.511 GB, free: 136 kB / 1.201 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/1.326, allocations: 59.73 kB / 1.511 GB, free: 76 kB / 1.201 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/1.327, allocations: 47.97 kB / 1.511 GB, free: 28 kB / 1.201 GB
Notification: Performance of sorting global known variables: time 0.001753/1.328, allocations: 0.8444 MB / 1.512 GB, free: 15.17 MB / 1.217 GB
Notification: Performance of sort global known variables: time 9e-08/1.328, allocations: 0 / 1.512 GB, free: 15.17 MB / 1.217 GB
Notification: Performance of remove unused functions: time 0.00131/1.33, allocations: 299.6 kB / 1.512 GB, free: 14.88 MB / 1.217 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.0009493/1.331, allocations: 346.6 kB / 1.513 GB, free: 14.55 MB / 1.217 GB
Notification: Performance of simCode: created initialization part: time 0.002537/1.333, allocations: 0.9779 MB / 1.514 GB, free: 13.55 MB / 1.217 GB
Notification: Performance of simCode: created event and clocks part: time 6.582e-06/1.333, allocations: 8.062 kB / 1.514 GB, free: 13.55 MB / 1.217 GB
Notification: Performance of simCode: created simulation system equations: time 0.001003/1.334, allocations: 491 kB / 1.514 GB, free: 13.06 MB / 1.217 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002753/1.337, allocations: 0.5476 MB / 1.515 GB, free: 12.52 MB / 1.217 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004267/1.341, allocations: 2.066 MB / 1.517 GB, free: 10.32 MB / 1.217 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/1.342, allocations: 1.069 MB / 1.518 GB, free: 9.227 MB / 1.217 GB
Notification: Performance of simCode: alias equations: time 0.001177/1.343, allocations: 275.4 kB / 1.518 GB, free: 8.957 MB / 1.217 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003048/1.344, allocations: 79.41 kB / 1.518 GB, free: 8.879 MB / 1.217 GB
Notification: Performance of SimCode: time 1.112e-06/1.344, allocations: 0 / 1.518 GB, free: 8.879 MB / 1.217 GB
Notification: Performance of Templates: time 0.04628/1.39, allocations: 22.7 MB / 1.54 GB, free: 2.402 MB / 1.232 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/jenkins/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: 10.078923993743956]