Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.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.00188/0.00188, allocations: 110 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.002262/0.002262, allocations: 190.6 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.517/1.517, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.333/3.333, allocations: 0.4893 GB / 0.7884 GB, free: 33.16 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-master/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.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1|y2",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing")
translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1|y2",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 66.92 kB / 1.145 GB, free: 30.74 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4136/0.4157, allocations: 174.9 MB / 1.316 GB, free: 9.758 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01888/0.4346, allocations: 15.61 MB / 1.331 GB, free: 10.09 MB / 1.029 GB
Notification: Performance of NFInst.instExpressions: time 0.007209/0.4418, allocations: 4.681 MB / 1.336 GB, free: 5.398 MB / 1.029 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0005961/0.4424, allocations: 23.75 kB / 1.336 GB, free: 5.375 MB / 1.029 GB
Notification: Performance of NFTyping.typeComponents: time 0.0007451/0.4431, allocations: 198.6 kB / 1.336 GB, free: 5.18 MB / 1.029 GB
Notification: Performance of NFTyping.typeBindings: time 0.001741/0.4449, allocations: 0.5986 MB / 1.337 GB, free: 4.578 MB / 1.029 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.4465, allocations: 0.5867 MB / 1.337 GB, free: 3.996 MB / 1.029 GB
Notification: Performance of NFFlatten.flatten: time 0.001459/0.448, allocations: 0.9623 MB / 1.338 GB, free: 3.031 MB / 1.029 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004589/0.4484, allocations: 252.4 kB / 1.338 GB, free: 2.777 MB / 1.029 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0008647/0.4493, allocations: 478 kB / 1.339 GB, free: 2.309 MB / 1.029 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004702/0.4498, allocations: 298.7 kB / 1.339 GB, free: 2.016 MB / 1.029 GB
Notification: Performance of NFPackage.collectConstants: time 5.015e-05/0.4498, allocations: 24 kB / 1.339 GB, free: 1.992 MB / 1.029 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0006019/0.4504, allocations: 231.6 kB / 1.339 GB, free: 1.766 MB / 1.029 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.4505, allocations: 79.56 kB / 1.339 GB, free: 1.688 MB / 1.029 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002314/0.4508, allocations: 206.9 kB / 1.34 GB, free: 1.484 MB / 1.029 GB
Notification: Performance of NFConvertDAE.convert: time 0.0007607/0.4515, allocations: 0.4979 MB / 1.34 GB, free: 0.9844 MB / 1.029 GB
Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4515, allocations: 3.938 kB / 1.34 GB, free: 0.9805 MB / 1.029 GB
Notification: Performance of FrontEnd: time 1.533e-06/0.4515, allocations: 0 / 1.34 GB, free: 0.9805 MB / 1.029 GB
Notification: Performance of Transformations before backend: time 7.544e-06/0.4515, allocations: 0 / 1.34 GB, free: 0.9805 MB / 1.029 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 50
 * Number of variables: 50
Notification: Performance of Generate backend data structure: time 0.001167/0.4527, allocations: 0.6602 MB / 1.341 GB, free: 296 kB / 1.029 GB
Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.4528, allocations: 12.03 kB / 1.341 GB, free: 284 kB / 1.029 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.682e-05/0.4529, allocations: 48.61 kB / 1.341 GB, free: 236 kB / 1.029 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007238/0.4536, allocations: 351.2 kB / 1.341 GB, free: 15.86 MB / 1.045 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.4536, allocations: 20.38 kB / 1.341 GB, free: 15.84 MB / 1.045 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/0.4536, allocations: 24 kB / 1.341 GB, free: 15.82 MB / 1.045 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003681/0.454, allocations: 191.3 kB / 1.341 GB, free: 15.63 MB / 1.045 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.454, allocations: 3.938 kB / 1.341 GB, free: 15.62 MB / 1.045 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.454, allocations: 12 kB / 1.341 GB, free: 15.61 MB / 1.045 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.4541, allocations: 4 kB / 1.341 GB, free: 15.61 MB / 1.045 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002499/0.4543, allocations: 137.6 kB / 1.342 GB, free: 15.47 MB / 1.045 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.4559, allocations: 0.8406 MB / 1.342 GB, free: 14.56 MB / 1.045 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004615/0.4563, allocations: 118.6 kB / 1.342 GB, free: 14.44 MB / 1.045 GB
Notification: Performance of preOpt resolveLoops (simulation): time 8.292e-05/0.4564, allocations: 44.83 kB / 1.343 GB, free: 14.39 MB / 1.045 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001454/0.4566, allocations: 27.97 kB / 1.343 GB, free: 14.36 MB / 1.045 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.4566, allocations: 38.56 kB / 1.343 GB, free: 14.32 MB / 1.045 GB
Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.4566, allocations: 0 / 1.343 GB, free: 14.32 MB / 1.045 GB
Notification: Performance of matching and sorting (n=12): time 0.000392/0.457, allocations: 173.4 kB / 1.343 GB, free: 14.14 MB / 1.045 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.457, allocations: 55.34 kB / 1.343 GB, free: 14.07 MB / 1.045 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005973/0.4576, allocations: 453.8 kB / 1.343 GB, free: 13.62 MB / 1.045 GB
Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.4577, allocations: 29.7 kB / 1.343 GB, free: 13.59 MB / 1.045 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.4578, allocations: 204.5 kB / 1.343 GB, free: 13.39 MB / 1.045 GB
Notification: Performance of collectInitialBindings (initialization): time 4.802e-05/0.4579, allocations: 47.58 kB / 1.344 GB, free: 13.34 MB / 1.045 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.386e-05/0.458, allocations: 57.69 kB / 1.344 GB, free: 13.28 MB / 1.045 GB
Notification: Performance of setup shared object (initialization): time 0.0001828/0.4582, allocations: 350.7 kB / 1.344 GB, free: 12.93 MB / 1.045 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.4583, allocations: 51.97 kB / 1.344 GB, free: 12.88 MB / 1.045 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.4584, allocations: 101.1 kB / 1.344 GB, free: 12.76 MB / 1.045 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/0.4587, allocations: 131.3 kB / 1.344 GB, free: 12.62 MB / 1.045 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4587, allocations: 4 kB / 1.344 GB, free: 12.61 MB / 1.045 GB
Notification: Performance of matching and sorting (n=24) (initialization): time 0.000396/0.4591, allocations: 221.2 kB / 1.344 GB, free: 12.39 MB / 1.045 GB
Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.4591, allocations: 8 kB / 1.344 GB, free: 12.38 MB / 1.045 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.4591, allocations: 3.938 kB / 1.344 GB, free: 12.38 MB / 1.045 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.4591, allocations: 0 / 1.344 GB, free: 12.38 MB / 1.045 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.4593, allocations: 43.97 kB / 1.344 GB, free: 12.34 MB / 1.045 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.4593, allocations: 4 kB / 1.344 GB, free: 12.33 MB / 1.045 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003265/0.4597, allocations: 31.83 kB / 1.344 GB, free: 12.3 MB / 1.045 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/0.4597, allocations: 15.98 kB / 1.344 GB, free: 12.29 MB / 1.045 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * 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 (24):
 * Single equations (assignments): 24
 * 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.0001809/0.4599, allocations: 154.4 kB / 1.345 GB, free: 12.12 MB / 1.045 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.351e-05/0.46, allocations: 43.72 kB / 1.345 GB, free: 12.08 MB / 1.045 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003775/0.4603, allocations: 199.6 kB / 1.345 GB, free: 11.89 MB / 1.045 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/0.4603, allocations: 4 kB / 1.345 GB, free: 11.88 MB / 1.045 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.4603, allocations: 64 / 1.345 GB, free: 11.88 MB / 1.045 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.4604, allocations: 4 kB / 1.345 GB, free: 11.88 MB / 1.045 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008894/0.4612, allocations: 0.5981 MB / 1.345 GB, free: 11.22 MB / 1.045 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.4612, allocations: 4 kB / 1.345 GB, free: 11.21 MB / 1.045 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.4614, allocations: 20 kB / 1.345 GB, free: 11.2 MB / 1.045 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.4614, allocations: 3.984 kB / 1.345 GB, free: 11.19 MB / 1.045 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.4614, allocations: 8 kB / 1.345 GB, free: 11.18 MB / 1.045 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.4614, allocations: 7.875 kB / 1.345 GB, free: 11.18 MB / 1.045 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.4614, allocations: 4.125 kB / 1.345 GB, free: 11.17 MB / 1.045 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003429/0.4617, allocations: 294.2 kB / 1.346 GB, free: 10.86 MB / 1.045 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.4619, allocations: 59.61 kB / 1.346 GB, free: 10.8 MB / 1.045 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.116e-05/0.4619, allocations: 4 kB / 1.346 GB, free: 10.8 MB / 1.045 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.4621, allocations: 27.86 kB / 1.346 GB, free: 10.77 MB / 1.045 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.4622, allocations: 8.078 kB / 1.346 GB, free: 10.76 MB / 1.045 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.4622, allocations: 4 kB / 1.346 GB, free: 10.76 MB / 1.045 GB
Notification: Performance of sorting global known variables: time 0.0004215/0.4626, allocations: 319.1 kB / 1.346 GB, free: 10.45 MB / 1.045 GB
Notification: Performance of sort global known variables: time 7e-08/0.4626, allocations: 0 / 1.346 GB, free: 10.45 MB / 1.045 GB
Notification: Performance of remove unused functions: time 0.0004629/0.4631, allocations: 103.8 kB / 1.346 GB, free: 10.34 MB / 1.045 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 5
 * 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 simulation (14):
 * Single equations (assignments): 12
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 2
 * 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.0005475/0.4636, allocations: 225.9 kB / 1.346 GB, free: 10.12 MB / 1.045 GB
Notification: Performance of simCode: created initialization part: time 0.0003039/0.4639, allocations: 131.8 kB / 1.347 GB, free: 9.992 MB / 1.045 GB
Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4639, allocations: 0 / 1.347 GB, free: 9.992 MB / 1.045 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.464, allocations: 59.86 kB / 1.347 GB, free: 9.934 MB / 1.045 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009317/0.465, allocations: 190.4 kB / 1.347 GB, free: 9.746 MB / 1.045 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.4663, allocations: 0.6579 MB / 1.348 GB, free: 9.051 MB / 1.045 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004619/0.4668, allocations: 0.8074 MB / 1.348 GB, free: 8.215 MB / 1.045 GB
Notification: Performance of simCode: alias equations: time 0.0002062/0.467, allocations: 58.75 kB / 1.348 GB, free: 8.164 MB / 1.045 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.385e-05/0.4671, allocations: 35.44 kB / 1.348 GB, free: 8.129 MB / 1.045 GB
Notification: Performance of SimCode: time 4e-07/0.4671, allocations: 0 / 1.348 GB, free: 8.129 MB / 1.045 GB
Notification: Performance of Templates: time 0.0146/0.4817, allocations: 7.221 MB / 1.355 GB, free: 1.039 MB / 1.045 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.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.747564228251576]