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.001037/0.001037, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001133/0.001133, allocations: 169.3 kB / 24.28 MB, free: 280 kB / 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 0.9932/0.9932, allocations: 177.1 MB / 204.6 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] 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 1.903/1.903, allocations: 377.9 MB / 0.6239 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 178] 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.052e-06/1.052e-06, allocations: 0 / 0.8115 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.701e-05/1.806e-05, allocations: 10.06 kB / 0.8116 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.002157/0.002175, allocations: 2.229 MB / 0.8137 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001523/0.003697, allocations: 1.356 MB / 0.8151 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.802e-05/0.003765, allocations: 3.938 kB / 0.8151 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004746/0.00424, allocations: 247.9 kB / 0.8153 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0008883/0.005128, allocations: 449.5 kB / 0.8157 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 7.544e-06/0.005136, allocations: 0 / 0.8157 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000391/0.005527, allocations: 402.3 kB / 0.8161 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.304e-05/0.00558, allocations: 12.58 kB / 0.8161 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.005771, allocations: 188 kB / 0.8163 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002385/0.00601, allocations: 188.1 kB / 0.8165 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.006044, allocations: 24 kB / 0.8165 GB, free: 13 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004472/0.006491, allocations: 284 kB / 0.8168 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003141/0.006805, allocations: 388.7 kB / 0.8171 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.007006, allocations: 195.4 kB / 0.8173 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0007261/0.007732, allocations: 0.6344 MB / 0.8179 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.007734, allocations: 0 / 0.8179 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.91e-07/0.007735, allocations: 0 / 0.8179 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.007744, allocations: 0.625 kB / 0.8179 GB, free: 11.52 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.001118/0.008862, allocations: 1.016 MB / 0.8189 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.0089, allocations: 8.031 kB / 0.8189 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004591/0.009359, allocations: 134.5 kB / 0.8191 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006203/0.009979, allocations: 0.501 MB / 0.8196 GB, free: 9.801 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.01, allocations: 12.38 kB / 0.8196 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.01003, allocations: 17.28 kB / 0.8196 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003461/0.01038, allocations: 176.2 kB / 0.8198 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.01039, allocations: 2.438 kB / 0.8198 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.01041, allocations: 4.375 kB / 0.8198 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.01042, allocations: 7.938 kB / 0.8198 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003359/0.01076, allocations: 164.5 kB / 0.8199 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.01228, allocations: 1.065 MB / 0.821 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003684/0.01265, allocations: 143.2 kB / 0.8211 GB, free: 8.172 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.01277, allocations: 55.66 kB / 0.8212 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.333e-05/0.01281, allocations: 27.98 kB / 0.8212 GB, free: 8.086 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.01283, allocations: 33.39 kB / 0.8212 GB, free: 8.043 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=19): time 1.873e-06/0.01284, allocations: 3.938 kB / 0.8212 GB, free: 8.039 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19): time 0.0005043/0.01334, allocations: 232.8 kB / 0.8214 GB, free: 7.809 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.01338, allocations: 59.28 kB / 0.8215 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.01451, allocations: 1.042 MB / 0.8225 GB, free: 6.68 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.01453, allocations: 26.2 kB / 0.8225 GB, free: 6.648 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003201/0.01485, allocations: 423.9 kB / 0.8229 GB, free: 6.23 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.148e-05/0.01491, allocations: 63.44 kB / 0.823 GB, free: 6.168 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.01502, allocations: 71.34 kB / 0.8231 GB, free: 6.09 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.01515, allocations: 493 kB / 0.8235 GB, free: 5.602 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.01529, allocations: 61.59 kB / 0.8236 GB, free: 5.543 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.01545, allocations: 91.31 kB / 0.8237 GB, free: 5.445 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003145/0.01576, allocations: 152.8 kB / 0.8238 GB, free: 5.289 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.01577, allocations: 1.156 kB / 0.8238 GB, free: 5.289 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005065/0.01627, allocations: 289.1 kB / 0.8241 GB, free: 5 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.01629, allocations: 11.91 kB / 0.8241 GB, free: 4.992 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.0163, allocations: 3.984 kB / 0.8241 GB, free: 4.988 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.01632, allocations: 0 / 0.8241 GB, free: 4.988 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.01656, allocations: 64.5 kB / 0.8242 GB, free: 4.926 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.01657, allocations: 0.9375 kB / 0.8242 GB, free: 4.926 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.01679, allocations: 27.83 kB / 0.8242 GB, free: 4.898 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.01681, allocations: 13.06 kB / 0.8242 GB, free: 4.887 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.0001312/0.01694, allocations: 168.5 kB / 0.8244 GB, free: 4.711 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.01706, allocations: 80.56 kB / 0.8245 GB, free: 4.633 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004366/0.01749, allocations: 211.4 kB / 0.8247 GB, free: 4.422 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.01749, allocations: 0 / 0.8247 GB, free: 4.422 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.0175, allocations: 4.969 kB / 0.8247 GB, free: 4.418 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.01751, allocations: 3.984 kB / 0.8247 GB, free: 4.414 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.01893, allocations: 1.166 MB / 0.8258 GB, free: 3.129 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.01893, allocations: 4 kB / 0.8258 GB, free: 3.125 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.01911, allocations: 44.5 kB / 0.8259 GB, free: 3.082 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.01912, allocations: 9.438 kB / 0.8259 GB, free: 3.074 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.01914, allocations: 11.98 kB / 0.8259 GB, free: 3.062 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-06/0.01915, allocations: 11.88 kB / 0.8259 GB, free: 3.051 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.01916, allocations: 4 kB / 0.8259 GB, free: 3.047 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005447/0.0197, allocations: 422.7 kB / 0.8263 GB, free: 2.535 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.01981, allocations: 75.5 kB / 0.8264 GB, free: 2.461 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.843e-05/0.01989, allocations: 8 kB / 0.8264 GB, free: 2.453 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.02012, allocations: 23.92 kB / 0.8264 GB, free: 2.43 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.02018, allocations: 27.84 kB / 0.8264 GB, free: 2.402 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.0202, allocations: 12 kB / 0.8264 GB, free: 2.391 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0007651/0.02096, allocations: 0.7138 MB / 0.8271 GB, free: 1.684 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.01e-07/0.02096, allocations: 0 / 0.8271 GB, free: 1.684 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005507/0.02151, allocations: 179.9 kB / 0.8273 GB, free: 1.508 MB / 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.0002971/0.02181, allocations: 171 kB / 0.8275 GB, free: 1.332 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003555/0.02216, allocations: 159.4 kB / 0.8276 GB, free: 1.172 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.02217, allocations: 0 / 0.8276 GB, free: 1.172 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.02229, allocations: 72.22 kB / 0.8277 GB, free: 1.098 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005812/0.02287, allocations: 179.3 kB / 0.8279 GB, free: 0.9219 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.02464, allocations: 1.353 MB / 0.8292 GB, free: 15.45 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.02477, allocations: 209.4 kB / 0.8294 GB, free: 15.23 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001464/0.02491, allocations: 68.39 kB / 0.8295 GB, free: 15.16 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.618e-05/0.025, allocations: 48.48 kB / 0.8295 GB, free: 15.11 MB / 0.7917 GB Notification: Performance of SimCode: time 1.002e-06/0.025, allocations: 0 / 0.8295 GB, free: 15.11 MB / 0.7917 GB Notification: Performance of Templates: time 0.0128/0.0378, allocations: 10.79 MB / 0.84 GB, free: 4.559 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.246940201148391]