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.001237/0.001237, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.0009855/0.0009855, allocations: 169 kB / 23.82 MB, free: 0.7461 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 0.9314/0.9314, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.772/1.772, allocations: 377.8 MB / 0.6236 GB, free: 8.559 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.873e-06/1.873e-06, allocations: 0 / 0.8116 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.239e-05, allocations: 3.344 kB / 0.8116 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003474/0.003496, allocations: 2.248 MB / 0.8138 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002319/0.005816, allocations: 1.358 MB / 0.8151 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.005918, allocations: 4 kB / 0.8151 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000682/0.0066, allocations: 239 kB / 0.8153 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0009528/0.007553, allocations: 452.8 kB / 0.8157 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 7.434e-06/0.007561, allocations: 4.531 kB / 0.8158 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003963/0.007957, allocations: 403.5 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.203e-05/0.008009, allocations: 12.58 kB / 0.8161 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.008204, allocations: 187.5 kB / 0.8163 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.008444, allocations: 188.3 kB / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.343e-05/0.008487, allocations: 20 kB / 0.8165 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004962/0.008983, allocations: 283.5 kB / 0.8168 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003042/0.009287, allocations: 387.6 kB / 0.8172 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002134/0.009501, allocations: 200.5 kB / 0.8174 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000746/0.01025, allocations: 0.6344 MB / 0.818 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.01025, allocations: 0 / 0.818 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.204e-06/0.01025, allocations: 4.797 kB / 0.818 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.01026, allocations: 0 / 0.818 GB, free: 11.15 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.001145/0.01141, allocations: 1.008 MB / 0.819 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.01145, allocations: 12.03 kB / 0.819 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004786/0.01193, allocations: 129.7 kB / 0.8191 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006/0.01253, allocations: 0.5058 MB / 0.8196 GB, free: 9.434 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.01254, allocations: 8.375 kB / 0.8196 GB, free: 9.426 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.01258, allocations: 20.38 kB / 0.8196 GB, free: 9.406 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003512/0.01293, allocations: 170.3 kB / 0.8198 GB, free: 9.234 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.01294, allocations: 4.125 kB / 0.8198 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.01296, allocations: 8.375 kB / 0.8198 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.01297, allocations: 7.938 kB / 0.8198 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003328/0.01331, allocations: 165 kB / 0.82 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.01486, allocations: 1.069 MB / 0.821 GB, free: 7.953 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003979/0.01525, allocations: 139.3 kB / 0.8211 GB, free: 7.805 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.01539, allocations: 59.66 kB / 0.8212 GB, free: 7.742 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.446e-05/0.01543, allocations: 27.92 kB / 0.8212 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.01546, allocations: 33.39 kB / 0.8213 GB, free: 7.672 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=19): time 1.803e-06/0.01546, allocations: 0 / 0.8213 GB, free: 7.672 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19): time 0.0005278/0.01599, allocations: 232.5 kB / 0.8215 GB, free: 7.441 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.01603, allocations: 59.84 kB / 0.8215 GB, free: 7.371 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.01716, allocations: 1.035 MB / 0.8225 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.01719, allocations: 29.7 kB / 0.8226 GB, free: 6.281 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/0.01743, allocations: 420.3 kB / 0.823 GB, free: 5.867 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.01747, allocations: 67.42 kB / 0.823 GB, free: 5.801 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.549e-05/0.01754, allocations: 71.34 kB / 0.8231 GB, free: 5.723 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.01764, allocations: 497 kB / 0.8236 GB, free: 5.23 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.01775, allocations: 63.89 kB / 0.8236 GB, free: 5.168 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.01786, allocations: 92.42 kB / 0.8237 GB, free: 5.07 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.01805, allocations: 149.5 kB / 0.8239 GB, free: 4.918 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01806, allocations: 0 / 0.8239 GB, free: 4.918 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003393/0.01839, allocations: 290.7 kB / 0.8241 GB, free: 4.629 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.01841, allocations: 4 kB / 0.8242 GB, free: 4.625 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.01841, allocations: 0 / 0.8242 GB, free: 4.625 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.01843, allocations: 3.656 kB / 0.8242 GB, free: 4.625 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.0186, allocations: 75.78 kB / 0.8242 GB, free: 4.551 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.01861, allocations: 3.984 kB / 0.8242 GB, free: 4.547 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.01874, allocations: 27.84 kB / 0.8243 GB, free: 4.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.01876, allocations: 11.98 kB / 0.8243 GB, free: 4.508 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.78e-05/0.01886, allocations: 168.5 kB / 0.8244 GB, free: 4.332 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.481e-05/0.01892, allocations: 75.53 kB / 0.8245 GB, free: 4.258 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002882/0.01921, allocations: 208.7 kB / 0.8247 GB, free: 4.047 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.01921, allocations: 5.125 kB / 0.8247 GB, free: 4.043 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01922, allocations: 3.938 kB / 0.8247 GB, free: 4.039 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.01922, allocations: 0 / 0.8247 GB, free: 4.039 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009776/0.0202, allocations: 1.162 MB / 0.8258 GB, free: 2.758 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.0202, allocations: 4 kB / 0.8258 GB, free: 2.754 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.02031, allocations: 52.41 kB / 0.8259 GB, free: 2.703 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.02031, allocations: 4.594 kB / 0.8259 GB, free: 2.699 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.02033, allocations: 9.375 kB / 0.8259 GB, free: 2.691 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.02033, allocations: 11.88 kB / 0.8259 GB, free: 2.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.02034, allocations: 8 kB / 0.8259 GB, free: 2.672 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003181/0.02066, allocations: 405.8 kB / 0.8263 GB, free: 2.18 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-05/0.02073, allocations: 83 kB / 0.8264 GB, free: 2.102 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.98e-05/0.02078, allocations: 15.98 kB / 0.8264 GB, free: 2.086 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.0209, allocations: 11.94 kB / 0.8264 GB, free: 2.074 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.02094, allocations: 31.84 kB / 0.8265 GB, free: 2.043 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.02095, allocations: 12 kB / 0.8265 GB, free: 2.031 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004857/0.02144, allocations: 0.7177 MB / 0.8272 GB, free: 1.32 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.02144, allocations: 0 / 0.8272 GB, free: 1.32 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000329/0.02177, allocations: 171.8 kB / 0.8273 GB, free: 1.152 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.0002129/0.02198, allocations: 175.8 kB / 0.8275 GB, free: 0.9727 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002524/0.02223, allocations: 160 kB / 0.8277 GB, free: 0.8125 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.02223, allocations: 0 / 0.8277 GB, free: 0.8125 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.159e-05/0.02232, allocations: 71.34 kB / 0.8277 GB, free: 0.7383 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.02275, allocations: 188 kB / 0.8279 GB, free: 0.5547 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.02429, allocations: 1.356 MB / 0.8292 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.02442, allocations: 209.4 kB / 0.8294 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001234/0.02455, allocations: 64.39 kB / 0.8295 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.792e-05/0.02463, allocations: 44.48 kB / 0.8295 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of SimCode: time 7.61e-07/0.02463, allocations: 0 / 0.8295 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of Templates: time 0.01306/0.0377, allocations: 11.57 MB / 0.8408 GB, free: 3.434 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: 4.893087839242071]