Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.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.001317/0.001317, allocations: 106 kB / 18.84 MB, free: 3.043 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.001499/0.001499, allocations: 190.3 kB / 22.1 MB, free: 5.152 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.557/1.557, allocations: 225.6 MB / 250.8 MB, free: 13.05 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.248/3.248, allocations: 495.8 MB / 0.783 GB, free: 33.73 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent")
translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 67.61 kB / 1.137 GB, free: 33.84 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3316, allocations: 173.6 MB / 1.307 GB, free: 1.793 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.202/0.5336, allocations: 159 MB / 1.462 GB, free: 2.133 MB / 1.154 GB
Notification: Performance of NFInst.instExpressions: time 0.005983/0.5396, allocations: 3.813 MB / 1.466 GB, free: 14.31 MB / 1.17 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0004234/0.54, allocations: 19.81 kB / 1.466 GB, free: 14.29 MB / 1.17 GB
Notification: Performance of NFTyping.typeComponents: time 0.0006596/0.5407, allocations: 190.7 kB / 1.466 GB, free: 14.1 MB / 1.17 GB
Notification: Performance of NFTyping.typeBindings: time 0.002284/0.5429, allocations: 0.8946 MB / 1.467 GB, free: 13.2 MB / 1.17 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.5441, allocations: 450.4 kB / 1.467 GB, free: 12.77 MB / 1.17 GB
Notification: Performance of NFFlatten.flatten: time 0.001686/0.5458, allocations: 1.057 MB / 1.468 GB, free: 11.7 MB / 1.17 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004675/0.5462, allocations: 229.2 kB / 1.469 GB, free: 11.48 MB / 1.17 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001365/0.5476, allocations: 0.6033 MB / 1.469 GB, free: 10.87 MB / 1.17 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0009741/0.5486, allocations: 343.8 kB / 1.469 GB, free: 10.54 MB / 1.17 GB
Notification: Performance of NFPackage.collectConstants: time 7.423e-05/0.5487, allocations: 28 kB / 1.469 GB, free: 10.51 MB / 1.17 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001354/0.55, allocations: 0.5922 MB / 1.47 GB, free: 9.914 MB / 1.17 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002315/0.5502, allocations: 167.4 kB / 1.47 GB, free: 9.75 MB / 1.17 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002806/0.5505, allocations: 222.9 kB / 1.47 GB, free: 9.531 MB / 1.17 GB
Notification: Performance of NFConvertDAE.convert: time 0.001377/0.5519, allocations: 0.7357 MB / 1.471 GB, free: 8.793 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.5519, allocations: 0 / 1.471 GB, free: 8.793 MB / 1.17 GB
Notification: Performance of FrontEnd: time 1.473e-06/0.5519, allocations: 0 / 1.471 GB, free: 8.793 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 8.466e-06/0.5519, allocations: 0 / 1.471 GB, free: 8.793 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: 71
 * Number of variables: 71
Notification: Performance of Generate backend data structure: time 0.001241/0.5532, allocations: 0.6777 MB / 1.472 GB, free: 8.086 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.5532, allocations: 8.031 kB / 1.472 GB, free: 8.078 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.5543, allocations: 151.6 kB / 1.472 GB, free: 7.93 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006987/0.555, allocations: 340.1 kB / 1.472 GB, free: 7.57 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/0.555, allocations: 20.66 kB / 1.472 GB, free: 7.551 MB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.299e-05/0.5551, allocations: 32 kB / 1.472 GB, free: 7.52 MB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006838/0.5558, allocations: 322 kB / 1.473 GB, free: 7.199 MB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.5558, allocations: 4 kB / 1.473 GB, free: 7.195 MB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.447e-05/0.5558, allocations: 19.98 kB / 1.473 GB, free: 7.176 MB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.5559, allocations: 8 kB / 1.473 GB, free: 7.168 MB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006354/0.5565, allocations: 306.4 kB / 1.473 GB, free: 6.867 MB / 1.17 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002082/0.5586, allocations: 1.17 MB / 1.474 GB, free: 5.594 MB / 1.17 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005326/0.5591, allocations: 277.1 kB / 1.474 GB, free: 5.316 MB / 1.17 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003336/0.5594, allocations: 177.3 kB / 1.475 GB, free: 5.141 MB / 1.17 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002614/0.5597, allocations: 40.25 kB / 1.475 GB, free: 5.102 MB / 1.17 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.815e-05/0.5598, allocations: 34.84 kB / 1.475 GB, free: 5.059 MB / 1.17 GB
Notification: Performance of pre-optimization done (n=33): time 1.763e-06/0.5598, allocations: 0 / 1.475 GB, free: 5.059 MB / 1.17 GB
Notification: Performance of matching and sorting (n=35): time 0.002746/0.5625, allocations: 0.967 MB / 1.476 GB, free: 4.062 MB / 1.17 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.96e-05/0.5626, allocations: 55.41 kB / 1.476 GB, free: 3.996 MB / 1.17 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004412/0.563, allocations: 316.5 kB / 1.476 GB, free: 3.68 MB / 1.17 GB
Notification: Performance of collectPreVariables (initialization): time 4.337e-05/0.5631, allocations: 37.7 kB / 1.476 GB, free: 3.637 MB / 1.17 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.5632, allocations: 180.8 kB / 1.476 GB, free: 3.457 MB / 1.17 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001573/0.5634, allocations: 126.9 kB / 1.476 GB, free: 3.332 MB / 1.17 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.5635, allocations: 61.7 kB / 1.476 GB, free: 3.266 MB / 1.17 GB
Notification: Performance of setup shared object (initialization): time 0.0002201/0.5637, allocations: 346.8 kB / 1.477 GB, free: 2.918 MB / 1.17 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.564, allocations: 111.9 kB / 1.477 GB, free: 2.809 MB / 1.17 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000324/0.5643, allocations: 167.4 kB / 1.477 GB, free: 2.637 MB / 1.17 GB
Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: dynBal.medium.p = dynBal.p_start (sin.p = dynBal.p_start)
Notification: Performance of analyzeInitialSystem (initialization): time 0.001996/0.5663, allocations: 0.6865 MB / 1.478 GB, free: 1.945 MB / 1.17 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5663, allocations: 0 / 1.478 GB, free: 1.945 MB / 1.17 GB
Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006907/0.567, allocations: 357 kB / 1.478 GB, free: 1.59 MB / 1.17 GB
Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.567, allocations: 11.94 kB / 1.478 GB, free: 1.578 MB / 1.17 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.567, allocations: 0 / 1.478 GB, free: 1.578 MB / 1.17 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.567, allocations: 3.938 kB / 1.478 GB, free: 1.574 MB / 1.17 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003428/0.5674, allocations: 63.91 kB / 1.478 GB, free: 1.512 MB / 1.17 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.5674, allocations: 4 kB / 1.478 GB, free: 1.508 MB / 1.17 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00035/0.5677, allocations: 17.14 kB / 1.478 GB, free: 1.492 MB / 1.17 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.193e-05/0.5678, allocations: 12 kB / 1.478 GB, free: 1.48 MB / 1.17 GB
Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system:
         dynBal.medium.p = dynBal.p_start.
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (37):
 * Single equations (assignments): 37
 * Array equations: 0
 * Algorithm blocks: 0
 * 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.0002332/0.568, allocations: 173.8 kB / 1.478 GB, free: 1.301 MB / 1.17 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.903e-05/0.5681, allocations: 43.72 kB / 1.478 GB, free: 1.258 MB / 1.17 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.5682, allocations: 52.06 kB / 1.478 GB, free: 1.203 MB / 1.17 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.5682, allocations: 7.922 kB / 1.478 GB, free: 1.195 MB / 1.17 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.5682, allocations: 4 kB / 1.478 GB, free: 1.191 MB / 1.17 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006438/0.5689, allocations: 408.2 kB / 1.479 GB, free: 0.7617 MB / 1.17 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.5708, allocations: 1.029 MB / 1.48 GB, free: 15.64 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.5708, allocations: 8.469 kB / 1.48 GB, free: 15.63 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003755/0.5712, allocations: 75.91 kB / 1.48 GB, free: 15.55 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.335e-05/0.5712, allocations: 11.98 kB / 1.48 GB, free: 15.54 MB / 1.186 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.5712, allocations: 12 kB / 1.48 GB, free: 15.53 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-05/0.5713, allocations: 15.88 kB / 1.48 GB, free: 15.52 MB / 1.186 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.5713, allocations: 4 kB / 1.48 GB, free: 15.51 MB / 1.186 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.5724, allocations: 0.6811 MB / 1.48 GB, free: 14.77 MB / 1.186 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001715/0.5725, allocations: 67.73 kB / 1.481 GB, free: 14.7 MB / 1.186 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/0.5726, allocations: 23.86 kB / 1.481 GB, free: 14.68 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003436/0.5729, allocations: 16.06 kB / 1.481 GB, free: 14.66 MB / 1.186 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.8e-05/0.573, allocations: 31.89 kB / 1.481 GB, free: 14.63 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/0.573, allocations: 23.92 kB / 1.481 GB, free: 14.61 MB / 1.186 GB
Notification: Performance of sorting global known variables: time 0.0002756/0.5733, allocations: 231 kB / 1.481 GB, free: 14.38 MB / 1.186 GB
Notification: Performance of sort global known variables: time 1.1e-07/0.5733, allocations: 0 / 1.481 GB, free: 14.38 MB / 1.186 GB
Notification: Performance of remove unused functions: time 0.000513/0.5738, allocations: 111.9 kB / 1.481 GB, free: 14.27 MB / 1.186 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 16
 * Number of states: 2 (dynBal.medium.Xi[1],dynBal.U)
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (35):
 * Single equations (assignments): 35
 * Array equations: 0
 * Algorithm blocks: 0
 * 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 Backend phase and start with SimCode phase: time 0.0004451/0.5743, allocations: 178.7 kB / 1.481 GB, free: 14.1 MB / 1.186 GB
Notification: Performance of simCode: created initialization part: time 0.0006538/0.5749, allocations: 296.3 kB / 1.481 GB, free: 13.81 MB / 1.186 GB
Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.5749, allocations: 4 kB / 1.481 GB, free: 13.8 MB / 1.186 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003142/0.5753, allocations: 164.7 kB / 1.482 GB, free: 13.64 MB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.5764, allocations: 227.3 kB / 1.482 GB, free: 13.43 MB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.5783, allocations: 0.966 MB / 1.483 GB, free: 12.39 MB / 1.186 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005284/0.5788, allocations: 0.8274 MB / 1.484 GB, free: 11.54 MB / 1.186 GB
Notification: Performance of simCode: alias equations: time 0.0003336/0.5791, allocations: 95.2 kB / 1.484 GB, free: 11.45 MB / 1.186 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.5792, allocations: 35.44 kB / 1.484 GB, free: 11.41 MB / 1.186 GB
Notification: Performance of SimCode: time 1.142e-06/0.5792, allocations: 0 / 1.484 GB, free: 11.41 MB / 1.186 GB
Notification: Performance of Templates: time 0.01684/0.5961, allocations: 7.697 MB / 1.491 GB, free: 3.836 MB / 1.186 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.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.70793108921498]