Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.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.001999/0.001999, allocations: 112.5 kB / 18.84 MB, free: 3.027 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.002664/0.002664, allocations: 196.9 kB / 22.11 MB, free: 5.164 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.601/1.601, allocations: 225.6 MB / 250.8 MB, free: 13.06 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.478/3.478, allocations: 495.8 MB / 0.783 GB, free: 33.48 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.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe|cyc.dTSup",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid")
translateModel(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe|cyc.dTSup",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 67.64 kB / 1.137 GB, free: 33.78 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4503/0.4526, allocations: 173.6 MB / 1.307 GB, free: 1.895 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.004691/0.4573, allocations: 2.217 MB / 1.309 GB, free: 15.66 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.003018/0.4603, allocations: 1.383 MB / 1.31 GB, free: 14.27 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.4604, allocations: 4 kB / 1.31 GB, free: 14.27 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0008564/0.4613, allocations: 283 kB / 1.311 GB, free: 13.99 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.001204/0.4625, allocations: 450.5 kB / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 8.316e-06/0.4625, allocations: 0 / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0004749/0.463, allocations: 394.5 kB / 1.311 GB, free: 13.16 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 7.187e-05/0.463, allocations: 8.594 kB / 1.311 GB, free: 13.15 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.4632, allocations: 147.4 kB / 1.311 GB, free: 13.01 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003176/0.4635, allocations: 215.1 kB / 1.312 GB, free: 12.8 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 3.988e-05/0.4636, allocations: 24 kB / 1.312 GB, free: 12.77 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005883/0.4641, allocations: 295.6 kB / 1.312 GB, free: 12.48 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0004394/0.4646, allocations: 379 kB / 1.312 GB, free: 12.11 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0003346/0.4649, allocations: 302.2 kB / 1.313 GB, free: 11.82 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.001162/0.4661, allocations: 0.8519 MB / 1.313 GB, free: 10.96 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.4661, allocations: 0 / 1.313 GB, free: 10.96 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.144e-06/0.4661, allocations: 0 / 1.313 GB, free: 10.96 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.033e-05/0.4661, allocations: 0 / 1.313 GB, free: 10.96 MB / 1.014 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 36
 * Number of variables: 36
Notification: Performance of Generate backend data structure: time 0.001435/0.4675, allocations: 0.8957 MB / 1.314 GB, free: 10.03 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.4676, allocations: 12.92 kB / 1.314 GB, free: 10.02 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005875/0.4682, allocations: 128.4 kB / 1.315 GB, free: 9.895 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.4693, allocations: 0.8581 MB / 1.315 GB, free: 9.008 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.4694, allocations: 12.38 kB / 1.315 GB, free: 8.996 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.776e-05/0.4694, allocations: 16.38 kB / 1.315 GB, free: 8.98 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008981/0.4703, allocations: 0.643 MB / 1.316 GB, free: 8.332 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.4703, allocations: 0 / 1.316 GB, free: 8.332 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.4703, allocations: 7.938 kB / 1.316 GB, free: 8.324 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.4704, allocations: 4 kB / 1.316 GB, free: 8.32 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/0.4718, allocations: 1.102 MB / 1.317 GB, free: 7.219 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002823/0.4746, allocations: 2.015 MB / 1.319 GB, free: 5.16 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0007821/0.4754, allocations: 338.6 kB / 1.319 GB, free: 4.82 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003713/0.4757, allocations: 224.8 kB / 1.32 GB, free: 4.598 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 6.908e-05/0.4758, allocations: 27.97 kB / 1.32 GB, free: 4.57 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.255e-05/0.4759, allocations: 34.5 kB / 1.32 GB, free: 4.527 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=19): time 2.355e-06/0.4759, allocations: 0 / 1.32 GB, free: 4.527 MB / 1.014 GB
Notification: Performance of matching and sorting (n=19): time 0.001394/0.4773, allocations: 0.7068 MB / 1.32 GB, free: 3.816 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.4773, allocations: 51.41 kB / 1.32 GB, free: 3.754 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002627/0.4799, allocations: 2.078 MB / 1.322 GB, free: 1.668 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.48, allocations: 29.7 kB / 1.322 GB, free: 1.633 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002909/0.4803, allocations: 328.2 kB / 1.323 GB, free: 1.309 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 6.363e-05/0.4803, allocations: 67.42 kB / 1.323 GB, free: 1.242 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.4804, allocations: 57.66 kB / 1.323 GB, free: 1.18 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001406/0.4806, allocations: 321.9 kB / 1.323 GB, free: 0.8594 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006191/0.4812, allocations: 0.531 MB / 1.324 GB, free: 336 kB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00067/0.4819, allocations: 0.56 MB / 1.324 GB, free: 15.76 MB / 1.029 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0009878/0.4828, allocations: 0.763 MB / 1.325 GB, free: 14.99 MB / 1.029 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.4829, allocations: 8 kB / 1.325 GB, free: 14.98 MB / 1.029 GB
Notification: Performance of matching and sorting (n=30) (initialization): time 0.001556/0.4844, allocations: 1.208 MB / 1.326 GB, free: 13.77 MB / 1.029 GB
Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.4844, allocations: 8.031 kB / 1.326 GB, free: 13.76 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.4844, allocations: 0 / 1.326 GB, free: 13.76 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.4845, allocations: 4 kB / 1.326 GB, free: 13.76 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003372/0.4848, allocations: 67.89 kB / 1.326 GB, free: 13.69 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.4848, allocations: 0 / 1.326 GB, free: 13.69 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003631/0.4852, allocations: 31.77 kB / 1.326 GB, free: 13.66 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.959e-05/0.4852, allocations: 15.98 kB / 1.326 GB, free: 13.64 MB / 1.029 GB
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 (30):
 * Single equations (assignments): 30
 * 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.0003251/0.4855, allocations: 277.6 kB / 1.327 GB, free: 13.36 MB / 1.029 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.4856, allocations: 79.45 kB / 1.327 GB, free: 13.29 MB / 1.029 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009574/0.4866, allocations: 0.535 MB / 1.327 GB, free: 12.74 MB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.4866, allocations: 3.938 kB / 1.327 GB, free: 12.74 MB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.4866, allocations: 4 kB / 1.327 GB, free: 12.73 MB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.4866, allocations: 0 / 1.327 GB, free: 12.73 MB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003412/0.49, allocations: 2.546 MB / 1.33 GB, free: 10.08 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.49, allocations: 7.938 kB / 1.33 GB, free: 10.07 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/0.4903, allocations: 51.95 kB / 1.33 GB, free: 10.02 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-05/0.4903, allocations: 11.94 kB / 1.33 GB, free: 10.01 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.4903, allocations: 4 kB / 1.33 GB, free: 10 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-05/0.4903, allocations: 15.92 kB / 1.33 GB, free: 9.988 MB / 1.029 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.4903, allocations: 4.344 kB / 1.33 GB, free: 9.984 MB / 1.029 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.4913, allocations: 0.6688 MB / 1.33 GB, free: 9.242 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/0.4915, allocations: 75.56 kB / 1.33 GB, free: 9.168 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.738e-05/0.4916, allocations: 12 kB / 1.33 GB, free: 9.156 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002934/0.4919, allocations: 23.97 kB / 1.331 GB, free: 9.133 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.919e-05/0.4919, allocations: 27.86 kB / 1.331 GB, free: 9.105 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.492, allocations: 15.98 kB / 1.331 GB, free: 9.09 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 0.00182/0.4938, allocations: 1.588 MB / 1.332 GB, free: 7.508 MB / 1.029 GB
Notification: Performance of sort global known variables: time 9e-08/0.4938, allocations: 0 / 1.332 GB, free: 7.508 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0006542/0.4944, allocations: 175.8 kB / 1.332 GB, free: 7.336 MB / 1.029 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 19
 * 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 (19):
 * Single equations (assignments): 19
 * 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.0003966/0.4948, allocations: 171.8 kB / 1.332 GB, free: 7.156 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.001161/0.496, allocations: 0.7651 MB / 1.333 GB, free: 6.391 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.496, allocations: 0 / 1.333 GB, free: 6.391 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003674/0.4964, allocations: 223.8 kB / 1.333 GB, free: 6.172 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009092/0.4973, allocations: 178.3 kB / 1.334 GB, free: 6 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002624/0.4999, allocations: 1.618 MB / 1.335 GB, free: 4.297 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007689/0.5007, allocations: 0.9988 MB / 1.336 GB, free: 3.273 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 0.0002546/0.5009, allocations: 88.53 kB / 1.336 GB, free: 3.184 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.501, allocations: 43.44 kB / 1.336 GB, free: 3.141 MB / 1.029 GB
Notification: Performance of SimCode: time 4.41e-07/0.501, allocations: 0 / 1.336 GB, free: 3.141 MB / 1.029 GB
Notification: Performance of Templates: time 0.02099/0.522, allocations: 10.63 MB / 1.347 GB, free: 8.637 MB / 1.045 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & ./Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.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.357891860418022]