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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002817/0.002817, allocations: 79.7 kB / 20.23 MB, free: 4.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003783/0.003783, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.675/1.675, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.108/3.108, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.603e-06/1.603e-06, allocations: 0 / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.755e-05/3.915e-05, allocations: 4.422 kB / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.004259/0.004298, allocations: 2.212 MB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002754/0.007052, allocations: 1.353 MB / 0.8143 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.007159, allocations: 1.156 kB / 0.8143 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0008231/0.007982, allocations: 250.9 kB / 0.8145 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001166/0.009148, allocations: 445.5 kB / 0.815 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 9.308e-06/0.009157, allocations: 0 / 0.815 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005345/0.009692, allocations: 406.3 kB / 0.8154 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.89e-05/0.009751, allocations: 13.5 kB / 0.8154 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002619/0.01001, allocations: 191.4 kB / 0.8156 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003009/0.01031, allocations: 187.3 kB / 0.8157 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.622e-05/0.01037, allocations: 24.84 kB / 0.8158 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005996/0.01097, allocations: 283.5 kB / 0.816 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0004298/0.0114, allocations: 381.3 kB / 0.8164 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002875/0.01169, allocations: 203.4 kB / 0.8166 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.0129, allocations: 0.8449 MB / 0.8174 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.01291, allocations: 0 / 0.8174 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.823e-06/0.01291, allocations: 3.938 kB / 0.8174 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.01292, allocations: 0 / 0.8174 GB, free: 11.34 MB / 0.7761 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.001704/0.01462, allocations: 1.037 MB / 0.8184 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.01467, allocations: 12.03 kB / 0.8184 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006556/0.01532, allocations: 128.3 kB / 0.8186 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008671/0.01619, allocations: 0.4893 MB / 0.819 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.01621, allocations: 10.03 kB / 0.819 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.641e-05/0.01626, allocations: 20.36 kB / 0.8191 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004782/0.01674, allocations: 191.5 kB / 0.8192 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.01675, allocations: 0.6875 kB / 0.8192 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.01677, allocations: 8.938 kB / 0.8193 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.01678, allocations: 7.938 kB / 0.8193 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006588/0.01744, allocations: 257.4 kB / 0.8195 GB, free: 9.133 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002138/0.01958, allocations: 1.124 MB / 0.8206 GB, free: 7.977 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008447/0.02043, allocations: 222.9 kB / 0.8208 GB, free: 7.75 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/0.02069, allocations: 99.64 kB / 0.8209 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.635e-05/0.02076, allocations: 27.98 kB / 0.8209 GB, free: 7.621 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.0208, allocations: 37.39 kB / 0.821 GB, free: 7.574 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=19): time 1.483e-06/0.0208, allocations: 0 / 0.821 GB, free: 7.574 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19): time 0.0009834/0.02178, allocations: 349 kB / 0.8213 GB, free: 7.23 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.02184, allocations: 59.34 kB / 0.8214 GB, free: 7.16 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00145/0.02329, allocations: 1.054 MB / 0.8224 GB, free: 6.09 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.02332, allocations: 30.7 kB / 0.8224 GB, free: 6.055 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004812/0.0238, allocations: 434.9 kB / 0.8228 GB, free: 5.625 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.737e-05/0.02388, allocations: 67.42 kB / 0.8229 GB, free: 5.559 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.02404, allocations: 72.47 kB / 0.823 GB, free: 5.48 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003233/0.02436, allocations: 496.4 kB / 0.8234 GB, free: 4.988 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/0.02465, allocations: 105 kB / 0.8235 GB, free: 4.887 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003144/0.02496, allocations: 128.4 kB / 0.8237 GB, free: 4.754 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005753/0.02554, allocations: 241.5 kB / 0.8239 GB, free: 4.512 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.02554, allocations: 1.188 kB / 0.8239 GB, free: 4.512 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001111/0.02665, allocations: 367 kB / 0.8242 GB, free: 4.148 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.02667, allocations: 7.984 kB / 0.8243 GB, free: 4.141 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.02668, allocations: 4 kB / 0.8243 GB, free: 4.137 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.02669, allocations: 0 / 0.8243 GB, free: 4.137 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003388/0.02703, allocations: 65.19 kB / 0.8243 GB, free: 4.074 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.02704, allocations: 0 / 0.8243 GB, free: 4.074 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003321/0.02737, allocations: 27.83 kB / 0.8243 GB, free: 4.047 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.0274, allocations: 16.83 kB / 0.8244 GB, free: 4.031 MB / 0.7761 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.0002019/0.0276, allocations: 173.2 kB / 0.8245 GB, free: 3.852 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.02774, allocations: 75.53 kB / 0.8246 GB, free: 3.777 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007799/0.02852, allocations: 291.3 kB / 0.8249 GB, free: 3.484 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.02853, allocations: 4 kB / 0.8249 GB, free: 3.48 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.02853, allocations: 5.688 kB / 0.8249 GB, free: 3.477 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.02854, allocations: 3.938 kB / 0.8249 GB, free: 3.473 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002391/0.03093, allocations: 1.346 MB / 0.8262 GB, free: 2.004 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.03094, allocations: 8 kB / 0.8262 GB, free: 1.996 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/0.03119, allocations: 44.55 kB / 0.8263 GB, free: 1.953 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.0312, allocations: 8 kB / 0.8263 GB, free: 1.945 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.03123, allocations: 15.94 kB / 0.8263 GB, free: 1.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.066e-05/0.03124, allocations: 11.94 kB / 0.8263 GB, free: 1.918 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/0.03125, allocations: 4 kB / 0.8263 GB, free: 1.914 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008921/0.03214, allocations: 480 kB / 0.8268 GB, free: 1.348 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/0.03233, allocations: 87.48 kB / 0.8268 GB, free: 1.262 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.078e-05/0.03242, allocations: 8 kB / 0.8268 GB, free: 1.254 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002928/0.03271, allocations: 19.92 kB / 0.8269 GB, free: 1.234 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.779e-05/0.03278, allocations: 31.84 kB / 0.8269 GB, free: 1.203 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.0328, allocations: 12 kB / 0.8269 GB, free: 1.191 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0009775/0.03378, allocations: 0.7099 MB / 0.8276 GB, free: 500 kB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.03378, allocations: 0 / 0.8276 GB, free: 500 kB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000672/0.03445, allocations: 171.9 kB / 0.8278 GB, free: 328 kB / 0.7761 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.0004598/0.03491, allocations: 175 kB / 0.8279 GB, free: 144 kB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007013/0.03562, allocations: 239.3 kB / 0.8282 GB, free: 15.9 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/0.03562, allocations: 4 kB / 0.8282 GB, free: 15.9 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002905/0.03591, allocations: 116.4 kB / 0.8283 GB, free: 15.78 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007992/0.03671, allocations: 181 kB / 0.8284 GB, free: 15.61 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.03916, allocations: 1.368 MB / 0.8298 GB, free: 14.12 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005219/0.03968, allocations: 390.7 kB / 0.8302 GB, free: 13.72 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002551/0.03994, allocations: 72.39 kB / 0.8302 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.04008, allocations: 44.48 kB / 0.8303 GB, free: 13.6 MB / 0.7917 GB Notification: Performance of SimCode: time 1.302e-06/0.04008, allocations: 0 / 0.8303 GB, free: 13.6 MB / 0.7917 GB Notification: Performance of Templates: time 0.02211/0.06219, allocations: 10.51 MB / 0.8405 GB, free: 3.34 MB / 0.7917 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 240] 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: 8.961777805001475]