Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009432/0.0009432, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001218/0.001218, allocations: 181 kB / 23.36 MB, free: 1.133 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.9559/0.9559, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.363/2.363, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.307e-06/3.307e-06, allocations: 4 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.52e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.00351/0.003535, allocations: 2.213 MB / 0.8408 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002287/0.005822, allocations: 1.382 MB / 0.8421 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.528e-05/0.005918, allocations: 4 kB / 0.8421 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.006963, allocations: 246.9 kB / 0.8423 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001202/0.008165, allocations: 450.3 kB / 0.8428 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 8.016e-06/0.008173, allocations: 0 / 0.8428 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004226/0.008596, allocations: 406.3 kB / 0.8432 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 5.776e-05/0.008654, allocations: 14.56 kB / 0.8432 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.008874, allocations: 191.4 kB / 0.8434 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.009138, allocations: 175.4 kB / 0.8435 GB, free: 9.145 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.133e-05/0.009179, allocations: 20 kB / 0.8435 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005395/0.009719, allocations: 291.5 kB / 0.8438 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0003479/0.01007, allocations: 383.1 kB / 0.8442 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002524/0.01032, allocations: 195.5 kB / 0.8444 GB, free: 8.273 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000979/0.0113, allocations: 0.6383 MB / 0.845 GB, free: 7.633 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.0113, allocations: 0 / 0.845 GB, free: 7.633 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.044e-06/0.01131, allocations: 0 / 0.845 GB, free: 7.633 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.7e-05/0.01132, allocations: 4 kB / 0.845 GB, free: 7.629 MB / 0.8073 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.001477/0.0128, allocations: 0.8356 MB / 0.8458 GB, free: 6.766 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/0.01286, allocations: 12.03 kB / 0.8458 GB, free: 6.754 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005402/0.0134, allocations: 100.8 kB / 0.8459 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007479/0.01415, allocations: 493.1 kB / 0.8464 GB, free: 6.148 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/0.01418, allocations: 12.38 kB / 0.8464 GB, free: 6.137 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.69e-05/0.01422, allocations: 12.38 kB / 0.8464 GB, free: 6.125 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003932/0.01461, allocations: 155.1 kB / 0.8466 GB, free: 5.965 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.01463, allocations: 192 / 0.8466 GB, free: 5.965 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.01465, allocations: 8.375 kB / 0.8466 GB, free: 5.957 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.01467, allocations: 11.94 kB / 0.8466 GB, free: 5.945 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002672/0.01493, allocations: 116.1 kB / 0.8467 GB, free: 5.832 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.01614, allocations: 0.6392 MB / 0.8473 GB, free: 5.176 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.01646, allocations: 162.3 kB / 0.8475 GB, free: 5.008 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.955e-05/0.01654, allocations: 42.56 kB / 0.8475 GB, free: 4.965 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.189e-05/0.01659, allocations: 27.98 kB / 0.8475 GB, free: 4.938 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.01662, allocations: 34.56 kB / 0.8476 GB, free: 4.895 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=19): time 2.565e-06/0.01662, allocations: 0 / 0.8476 GB, free: 4.895 MB / 0.8073 GB Notification: Performance of matching and sorting (n=19): time 0.0003405/0.01696, allocations: 149.8 kB / 0.8477 GB, free: 4.742 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.017, allocations: 59.39 kB / 0.8478 GB, free: 4.672 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009336/0.01794, allocations: 0.8687 MB / 0.8486 GB, free: 3.789 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.01797, allocations: 25.7 kB / 0.8486 GB, free: 3.758 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.01813, allocations: 214 kB / 0.8489 GB, free: 3.547 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.576e-05/0.01818, allocations: 67.42 kB / 0.8489 GB, free: 3.48 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.01829, allocations: 57.61 kB / 0.849 GB, free: 3.418 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.01841, allocations: 314 kB / 0.8493 GB, free: 3.105 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.01855, allocations: 50.81 kB / 0.8493 GB, free: 3.055 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.01869, allocations: 73.67 kB / 0.8494 GB, free: 2.977 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/0.01895, allocations: 140.7 kB / 0.8495 GB, free: 2.832 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.01895, allocations: 3.938 kB / 0.8495 GB, free: 2.828 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004142/0.01937, allocations: 211.8 kB / 0.8497 GB, free: 2.613 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.01939, allocations: 4 kB / 0.8497 GB, free: 2.609 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.0194, allocations: 0 / 0.8497 GB, free: 2.609 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.01943, allocations: 4 kB / 0.8497 GB, free: 2.605 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.0197, allocations: 59.92 kB / 0.8498 GB, free: 2.547 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.0197, allocations: 4 kB / 0.8498 GB, free: 2.543 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.01993, allocations: 27.81 kB / 0.8498 GB, free: 2.516 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.01995, allocations: 4 kB / 0.8498 GB, free: 2.512 MB / 0.8073 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.000159/0.02011, allocations: 128.6 kB / 0.85 GB, free: 2.375 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.876e-05/0.0202, allocations: 43.95 kB / 0.85 GB, free: 2.332 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003665/0.02056, allocations: 177.2 kB / 0.8502 GB, free: 2.148 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.02057, allocations: 4 kB / 0.8502 GB, free: 2.145 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.02057, allocations: 3.938 kB / 0.8502 GB, free: 2.141 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.02058, allocations: 7.922 kB / 0.8502 GB, free: 2.133 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.02187, allocations: 0.8704 MB / 0.851 GB, free: 1.156 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.02187, allocations: 4 kB / 0.851 GB, free: 1.152 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.02205, allocations: 47.91 kB / 0.8511 GB, free: 1.105 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.02206, allocations: 4 kB / 0.8511 GB, free: 1.102 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.02208, allocations: 8 kB / 0.8511 GB, free: 1.094 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.627e-06/0.02209, allocations: 11.94 kB / 0.8511 GB, free: 1.082 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.0221, allocations: 7.984 kB / 0.8511 GB, free: 1.074 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003843/0.02248, allocations: 339.5 kB / 0.8514 GB, free: 0.6484 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.02259, allocations: 75.48 kB / 0.8515 GB, free: 0.5742 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.813e-05/0.02267, allocations: 12 kB / 0.8515 GB, free: 0.5625 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.02289, allocations: 11.98 kB / 0.8515 GB, free: 0.5508 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.02293, allocations: 27.86 kB / 0.8516 GB, free: 0.5234 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.02295, allocations: 15.98 kB / 0.8516 GB, free: 0.5078 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0005572/0.02351, allocations: 0.5112 MB / 0.8521 GB, free: 15.99 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.6e-07/0.02351, allocations: 3.938 kB / 0.8521 GB, free: 15.99 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000564/0.02408, allocations: 179.9 kB / 0.8522 GB, free: 15.81 MB / 0.823 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.0003186/0.02439, allocations: 156.1 kB / 0.8524 GB, free: 15.66 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002921/0.02469, allocations: 144.5 kB / 0.8525 GB, free: 15.51 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/0.0247, allocations: 8 kB / 0.8525 GB, free: 15.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.691e-05/0.02479, allocations: 65.27 kB / 0.8526 GB, free: 15.44 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006365/0.02543, allocations: 171.4 kB / 0.8528 GB, free: 15.27 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.02727, allocations: 1.322 MB / 0.8541 GB, free: 13.85 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.02741, allocations: 209.4 kB / 0.8543 GB, free: 13.62 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001429/0.02756, allocations: 76.38 kB / 0.8543 GB, free: 13.55 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002728/0.02783, allocations: 185.2 kB / 0.8545 GB, free: 13.36 MB / 0.823 GB Notification: Performance of SimCode: time 1.102e-06/0.02783, allocations: 0 / 0.8545 GB, free: 13.36 MB / 0.823 GB Notification: Performance of Templates: time 0.01444/0.04227, allocations: 11.61 MB / 0.8658 GB, free: 2.008 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & ./Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.481430358253419]