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.0009509/0.0009509, allocations: 82.64 kB / 20.68 MB, free: 3.82 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.0009206/0.0009206, allocations: 185 kB / 24.09 MB, free: 420 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.9596/0.9596, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.803/1.803, allocations: 377.9 MB / 0.624 GB, free: 8.438 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.944e-06/1.944e-06, allocations: 0 / 0.812 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.769e-05, allocations: 2.312 kB / 0.812 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003969/0.003997, allocations: 2.223 MB / 0.8142 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002615/0.006612, allocations: 1.351 MB / 0.8155 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/0.00678, allocations: 7.938 kB / 0.8155 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007524/0.007533, allocations: 235 kB / 0.8157 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001223/0.008756, allocations: 457.6 kB / 0.8162 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 8.456e-06/0.008764, allocations: 0 / 0.8162 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004599/0.009224, allocations: 398.4 kB / 0.8166 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.063e-05/0.009295, allocations: 12.59 kB / 0.8166 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002724/0.009567, allocations: 195.4 kB / 0.8168 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.009822, allocations: 184.4 kB / 0.8169 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.176e-05/0.009863, allocations: 20 kB / 0.8169 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006011/0.01046, allocations: 288 kB / 0.8172 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003274/0.01079, allocations: 379.1 kB / 0.8176 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002501/0.01104, allocations: 204 kB / 0.8178 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0008269/0.01187, allocations: 0.6311 MB / 0.8184 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.01187, allocations: 0 / 0.8184 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.172e-06/0.01187, allocations: 1.062 kB / 0.8184 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.01188, allocations: 4 kB / 0.8184 GB, free: 10.91 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.00113/0.01301, allocations: 1.016 MB / 0.8194 GB, free: 9.859 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.01306, allocations: 12.03 kB / 0.8194 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004279/0.01348, allocations: 130.6 kB / 0.8195 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000485/0.01397, allocations: 469.1 kB / 0.82 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.01399, allocations: 16.38 kB / 0.82 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.01402, allocations: 16.31 kB / 0.82 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/0.01428, allocations: 161.5 kB / 0.8202 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.01429, allocations: 192 / 0.8202 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.01431, allocations: 4.375 kB / 0.8202 GB, free: 9.039 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.01431, allocations: 8.875 kB / 0.8202 GB, free: 9.031 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.01447, allocations: 132.9 kB / 0.8203 GB, free: 8.902 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009603/0.01543, allocations: 0.9466 MB / 0.8212 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.01567, allocations: 132.2 kB / 0.8214 GB, free: 7.789 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.89e-05/0.01573, allocations: 49.97 kB / 0.8214 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.43e-05/0.01577, allocations: 27.98 kB / 0.8214 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.01579, allocations: 37.39 kB / 0.8215 GB, free: 7.664 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=19): time 1.343e-06/0.01579, allocations: 0 / 0.8215 GB, free: 7.664 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19): time 0.0002924/0.01609, allocations: 211.2 kB / 0.8217 GB, free: 7.453 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.01611, allocations: 64.28 kB / 0.8217 GB, free: 7.379 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006376/0.01675, allocations: 0.9717 MB / 0.8227 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.01677, allocations: 29.7 kB / 0.8227 GB, free: 6.352 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002301/0.017, allocations: 419.8 kB / 0.8231 GB, free: 5.938 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.01704, allocations: 63.42 kB / 0.8232 GB, free: 5.875 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.288e-05/0.01711, allocations: 68.45 kB / 0.8232 GB, free: 5.801 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.01722, allocations: 492.4 kB / 0.8237 GB, free: 5.312 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.047e-05/0.0173, allocations: 55.97 kB / 0.8237 GB, free: 5.258 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.361e-05/0.0174, allocations: 88.36 kB / 0.8238 GB, free: 5.164 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.01756, allocations: 144.8 kB / 0.824 GB, free: 5.016 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01756, allocations: 1 kB / 0.824 GB, free: 5.016 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002897/0.01785, allocations: 269.8 kB / 0.8242 GB, free: 4.746 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.01787, allocations: 4 kB / 0.8242 GB, free: 4.742 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.01787, allocations: 1.625 kB / 0.8242 GB, free: 4.742 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.01789, allocations: 4 kB / 0.8242 GB, free: 4.738 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.01805, allocations: 63.89 kB / 0.8243 GB, free: 4.676 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.01805, allocations: 7.938 kB / 0.8243 GB, free: 4.668 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.01818, allocations: 32.92 kB / 0.8243 GB, free: 4.637 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.0182, allocations: 8 kB / 0.8243 GB, free: 4.629 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.953e-05/0.0183, allocations: 165.6 kB / 0.8245 GB, free: 4.457 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.184e-05/0.01836, allocations: 75.53 kB / 0.8246 GB, free: 4.383 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.01861, allocations: 199.8 kB / 0.8248 GB, free: 4.184 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.01861, allocations: 4 kB / 0.8248 GB, free: 4.18 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.01861, allocations: 0 / 0.8248 GB, free: 4.18 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.01862, allocations: 7.344 kB / 0.8248 GB, free: 4.176 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008981/0.01952, allocations: 1.035 MB / 0.8258 GB, free: 3.027 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.01952, allocations: 5.5 kB / 0.8258 GB, free: 3.023 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.01963, allocations: 43.91 kB / 0.8258 GB, free: 2.98 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.01963, allocations: 8 kB / 0.8258 GB, free: 2.973 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.01964, allocations: 11.98 kB / 0.8259 GB, free: 2.961 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/0.01965, allocations: 12.56 kB / 0.8259 GB, free: 2.949 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.01965, allocations: 8 kB / 0.8259 GB, free: 2.941 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.01993, allocations: 390.1 kB / 0.8262 GB, free: 2.461 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.784e-05/0.01999, allocations: 83.47 kB / 0.8263 GB, free: 2.379 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/0.02003, allocations: 11.94 kB / 0.8263 GB, free: 2.367 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.02017, allocations: 15.98 kB / 0.8264 GB, free: 2.352 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.0202, allocations: 27.84 kB / 0.8264 GB, free: 2.324 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.02021, allocations: 8 kB / 0.8264 GB, free: 2.316 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003594/0.02057, allocations: 0.6395 MB / 0.827 GB, free: 1.684 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.5e-07/0.02057, allocations: 0 / 0.827 GB, free: 1.684 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003609/0.02093, allocations: 171.9 kB / 0.8272 GB, free: 1.516 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.0002369/0.02117, allocations: 179 kB / 0.8273 GB, free: 1.332 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002032/0.02137, allocations: 152.9 kB / 0.8275 GB, free: 1.18 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.02137, allocations: 4 kB / 0.8275 GB, free: 1.176 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.448e-05/0.02144, allocations: 59.53 kB / 0.8276 GB, free: 1.113 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004391/0.02188, allocations: 192 kB / 0.8277 GB, free: 0.9258 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.02336, allocations: 1.347 MB / 0.8291 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.02349, allocations: 208.9 kB / 0.8293 GB, free: 15.25 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001344/0.02363, allocations: 68.38 kB / 0.8293 GB, free: 15.18 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/0.0239, allocations: 230.1 kB / 0.8295 GB, free: 14.95 MB / 0.7917 GB Notification: Performance of SimCode: time 9.81e-07/0.0239, allocations: 0 / 0.8295 GB, free: 14.95 MB / 0.7917 GB Notification: Performance of Templates: time 0.01375/0.03764, allocations: 11.64 MB / 0.8409 GB, free: 3.57 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.898858472704887]