Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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.0009205/0.0009205, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009378/0.0009378, allocations: 169 kB / 24.28 MB, free: 276 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.9157/0.9157, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.853/1.853, allocations: 377.8 MB / 0.6239 GB, free: 8.586 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.DryFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") translateModel(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 0.8115 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.202e-05, allocations: 5.266 kB / 0.8115 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002996/0.003018, allocations: 2.098 MB / 0.8136 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002152/0.00517, allocations: 1.357 MB / 0.8149 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.00527, allocations: 4.469 kB / 0.8149 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006288/0.005899, allocations: 235 kB / 0.8151 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0008772/0.006776, allocations: 453.7 kB / 0.8156 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 5.38e-06/0.006782, allocations: 0 / 0.8156 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002577/0.00704, allocations: 402.4 kB / 0.816 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.007084, allocations: 13.75 kB / 0.816 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.00721, allocations: 191.4 kB / 0.8161 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.007363, allocations: 187.4 kB / 0.8163 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.007386, allocations: 25.16 kB / 0.8164 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003217/0.007708, allocations: 279.5 kB / 0.8166 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002119/0.00792, allocations: 391.1 kB / 0.817 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.008059, allocations: 200 kB / 0.8172 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004887/0.008547, allocations: 0.6305 MB / 0.8178 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.008549, allocations: 0.7812 kB / 0.8178 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.11e-07/0.00855, allocations: 0 / 0.8178 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.008554, allocations: 4.844 kB / 0.8178 GB, free: 11.65 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.0009823/0.009536, allocations: 1.011 MB / 0.8188 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.009567, allocations: 9.812 kB / 0.8188 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003383/0.009906, allocations: 132.3 kB / 0.8189 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004098/0.01032, allocations: 0.5018 MB / 0.8194 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.01033, allocations: 12.38 kB / 0.8194 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.01035, allocations: 14.69 kB / 0.8194 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.01061, allocations: 184.1 kB / 0.8196 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.01062, allocations: 192 / 0.8196 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.01063, allocations: 4.375 kB / 0.8196 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.01064, allocations: 7.938 kB / 0.8196 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000224/0.01087, allocations: 162.5 kB / 0.8198 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.01201, allocations: 1.066 MB / 0.8208 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.0123, allocations: 139.8 kB / 0.821 GB, free: 8.309 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.644e-05/0.01238, allocations: 60.09 kB / 0.821 GB, free: 8.246 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.01242, allocations: 25.33 kB / 0.821 GB, free: 8.223 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.01244, allocations: 41.39 kB / 0.8211 GB, free: 8.172 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=19): time 1.192e-06/0.01244, allocations: 0 / 0.8211 GB, free: 8.172 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19): time 0.0003688/0.01281, allocations: 228.8 kB / 0.8213 GB, free: 7.945 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.01284, allocations: 59.34 kB / 0.8214 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007126/0.01355, allocations: 1.035 MB / 0.8224 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.01357, allocations: 33.7 kB / 0.8224 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.01378, allocations: 414.5 kB / 0.8228 GB, free: 6.379 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.566e-05/0.01381, allocations: 75.3 kB / 0.8229 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.912e-05/0.01388, allocations: 67.34 kB / 0.8229 GB, free: 6.23 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.817e-05/0.01398, allocations: 496.4 kB / 0.8234 GB, free: 5.738 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.567e-05/0.01407, allocations: 59.97 kB / 0.8235 GB, free: 5.68 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.01419, allocations: 95.31 kB / 0.8236 GB, free: 5.578 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.01437, allocations: 144.8 kB / 0.8237 GB, free: 5.43 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01437, allocations: 0 / 0.8237 GB, free: 5.43 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000331/0.0147, allocations: 291.2 kB / 0.824 GB, free: 5.141 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.01471, allocations: 7.984 kB / 0.824 GB, free: 5.133 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.01472, allocations: 0 / 0.824 GB, free: 5.133 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.01473, allocations: 4 kB / 0.824 GB, free: 5.129 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.0149, allocations: 64.78 kB / 0.824 GB, free: 5.066 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.0149, allocations: 4 kB / 0.824 GB, free: 5.062 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.01504, allocations: 28.95 kB / 0.8241 GB, free: 5.035 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.01506, allocations: 15.97 kB / 0.8241 GB, free: 5.02 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 9.515e-05/0.01515, allocations: 169.6 kB / 0.8242 GB, free: 4.844 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.321e-05/0.01521, allocations: 71.53 kB / 0.8243 GB, free: 4.773 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002782/0.01549, allocations: 213 kB / 0.8245 GB, free: 4.559 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.01549, allocations: 4.875 kB / 0.8245 GB, free: 4.555 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.0155, allocations: 3.938 kB / 0.8245 GB, free: 4.551 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.0155, allocations: 6.297 kB / 0.8245 GB, free: 4.547 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.01669, allocations: 1.161 MB / 0.8257 GB, free: 3.266 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.01669, allocations: 8 kB / 0.8257 GB, free: 3.258 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.01679, allocations: 43.91 kB / 0.8257 GB, free: 3.215 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.0168, allocations: 7.984 kB / 0.8257 GB, free: 3.207 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.01681, allocations: 13.72 kB / 0.8257 GB, free: 3.195 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.01682, allocations: 15.88 kB / 0.8258 GB, free: 3.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.01682, allocations: 4 kB / 0.8258 GB, free: 3.176 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003039/0.01713, allocations: 413 kB / 0.8262 GB, free: 2.676 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.739e-05/0.01719, allocations: 79.5 kB / 0.8262 GB, free: 2.598 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.838e-05/0.01724, allocations: 8 kB / 0.8262 GB, free: 2.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.01738, allocations: 19.92 kB / 0.8263 GB, free: 2.57 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.01741, allocations: 31.84 kB / 0.8263 GB, free: 2.539 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.01742, allocations: 8 kB / 0.8263 GB, free: 2.531 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004707/0.01789, allocations: 0.7215 MB / 0.827 GB, free: 1.816 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01789, allocations: 0 / 0.827 GB, free: 1.816 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003129/0.01821, allocations: 171.9 kB / 0.8272 GB, free: 1.648 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.0002112/0.01842, allocations: 179 kB / 0.8273 GB, free: 1.465 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002412/0.01866, allocations: 151.4 kB / 0.8275 GB, free: 1.312 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01866, allocations: 0 / 0.8275 GB, free: 1.312 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.402e-05/0.01874, allocations: 72.59 kB / 0.8275 GB, free: 1.238 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.01919, allocations: 189.5 kB / 0.8277 GB, free: 1.055 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.02074, allocations: 1.348 MB / 0.829 GB, free: 15.59 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.02087, allocations: 213.4 kB / 0.8292 GB, free: 15.37 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001274/0.021, allocations: 68.39 kB / 0.8293 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.155e-05/0.02108, allocations: 44.48 kB / 0.8294 GB, free: 15.25 MB / 0.7917 GB Notification: Performance of SimCode: time 8.02e-07/0.02108, allocations: 0 / 0.8294 GB, free: 15.25 MB / 0.7917 GB Notification: Performance of Templates: time 0.01206/0.03315, allocations: 10.8 MB / 0.8399 GB, free: 4.691 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & ./Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.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.064076497917995]