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.0009358/0.0009358, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001003/0.001003, allocations: 161 kB / 24.17 MB, free: 332 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.9381/0.9381, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.968/1.968, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.673e-06/1.673e-06, allocations: 1.094 kB / 0.7601 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.392e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.006861/0.006885, allocations: 2.271 MB / 0.7623 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002776/0.009661, allocations: 1.378 MB / 0.7636 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003217/0.01288, allocations: 0 / 0.7636 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00078/0.01366, allocations: 244.7 kB / 0.7639 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.001257/0.01491, allocations: 433.5 kB / 0.7643 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 8.126e-06/0.01492, allocations: 0 / 0.7643 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000465/0.01539, allocations: 406.3 kB / 0.7647 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.808e-05/0.01546, allocations: 22.48 kB / 0.7647 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002492/0.01571, allocations: 187.4 kB / 0.7649 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003357/0.01906, allocations: 171.4 kB / 0.765 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.146e-05/0.0191, allocations: 20 kB / 0.7651 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007258/0.01983, allocations: 318.5 kB / 0.7654 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0003148/0.02014, allocations: 383.2 kB / 0.7657 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002091/0.02035, allocations: 199.4 kB / 0.7659 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000841/0.02119, allocations: 0.6383 MB / 0.7665 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.0212, allocations: 0 / 0.7665 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.653e-06/0.0212, allocations: 0 / 0.7665 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.02121, allocations: 0 / 0.7665 GB, free: 15.98 MB / 0.7292 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.00407/0.02528, allocations: 0.8409 MB / 0.7674 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.02532, allocations: 8.031 kB / 0.7674 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004421/0.02576, allocations: 101.4 kB / 0.7675 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005739/0.02633, allocations: 493.7 kB / 0.7679 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.02635, allocations: 9.031 kB / 0.768 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.02638, allocations: 16.38 kB / 0.768 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.02666, allocations: 156.1 kB / 0.7681 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.02667, allocations: 192 / 0.7681 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.02669, allocations: 6.969 kB / 0.7681 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.0267, allocations: 7.938 kB / 0.7681 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002174/0.02692, allocations: 112.8 kB / 0.7682 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004196/0.03111, allocations: 0.6509 MB / 0.7689 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.03142, allocations: 157.5 kB / 0.769 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.895e-05/0.0315, allocations: 40.84 kB / 0.7691 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.38e-05/0.03155, allocations: 23.98 kB / 0.7691 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.03157, allocations: 34.56 kB / 0.7691 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=19): time 1.653e-06/0.03157, allocations: 0 / 0.7691 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of matching and sorting (n=19): time 0.0003385/0.03191, allocations: 152.2 kB / 0.7693 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.03195, allocations: 52.59 kB / 0.7693 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008632/0.03281, allocations: 0.8765 MB / 0.7702 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.03283, allocations: 25.7 kB / 0.7702 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.03297, allocations: 210 kB / 0.7704 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.911e-05/0.03302, allocations: 72.06 kB / 0.7705 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.64e-05/0.03311, allocations: 54.91 kB / 0.7705 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.126e-05/0.03321, allocations: 318 kB / 0.7708 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.03333, allocations: 50.81 kB / 0.7709 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.03346, allocations: 68.12 kB / 0.7709 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002485/0.03371, allocations: 144.2 kB / 0.7711 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.03371, allocations: 4 kB / 0.7711 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003792/0.03409, allocations: 207.7 kB / 0.7713 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.03411, allocations: 11.94 kB / 0.7713 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.03411, allocations: 2.312 kB / 0.7713 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.03413, allocations: 0 / 0.7713 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.03438, allocations: 59.89 kB / 0.7713 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.03438, allocations: 4 kB / 0.7713 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.0346, allocations: 31.77 kB / 0.7714 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.03462, allocations: 13.41 kB / 0.7714 GB, free: 10.86 MB / 0.7292 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.0001232/0.03475, allocations: 120.6 kB / 0.7715 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.062e-05/0.03483, allocations: 47.94 kB / 0.7716 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003046/0.03513, allocations: 170.5 kB / 0.7717 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.03514, allocations: 3.938 kB / 0.7717 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.03514, allocations: 0 / 0.7717 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.03515, allocations: 7.922 kB / 0.7717 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009558/0.0361, allocations: 0.8764 MB / 0.7726 GB, free: 9.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.03611, allocations: 11.94 kB / 0.7726 GB, free: 9.508 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.03623, allocations: 43.97 kB / 0.7726 GB, free: 9.465 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.03624, allocations: 4 kB / 0.7726 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.03625, allocations: 8 kB / 0.7726 GB, free: 9.453 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.03625, allocations: 11.92 kB / 0.7727 GB, free: 9.441 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.03626, allocations: 8.719 kB / 0.7727 GB, free: 9.434 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.03653, allocations: 331.5 kB / 0.773 GB, free: 9.016 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.343e-05/0.0366, allocations: 79.48 kB / 0.7731 GB, free: 8.938 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.445e-05/0.03665, allocations: 4 kB / 0.7731 GB, free: 8.934 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.03678, allocations: 19.98 kB / 0.7731 GB, free: 8.914 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.03682, allocations: 24.83 kB / 0.7731 GB, free: 8.891 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.03683, allocations: 11.98 kB / 0.7731 GB, free: 8.879 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003485/0.03718, allocations: 0.5117 MB / 0.7736 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.61e-07/0.03718, allocations: 0 / 0.7736 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003764/0.03755, allocations: 176.4 kB / 0.7738 GB, free: 8.199 MB / 0.7292 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.0002255/0.03778, allocations: 169.2 kB / 0.7739 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002128/0.03799, allocations: 141.1 kB / 0.7741 GB, free: 7.891 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/0.038, allocations: 8 kB / 0.7741 GB, free: 7.883 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.798e-05/0.03807, allocations: 63.23 kB / 0.7741 GB, free: 7.82 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.0385, allocations: 184.3 kB / 0.7743 GB, free: 7.648 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.0402, allocations: 1.319 MB / 0.7756 GB, free: 6.246 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.04034, allocations: 215.3 kB / 0.7758 GB, free: 6.02 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000177/0.04052, allocations: 68.33 kB / 0.7759 GB, free: 5.953 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002907/0.04081, allocations: 190.1 kB / 0.7761 GB, free: 5.77 MB / 0.7292 GB Notification: Performance of SimCode: time 1.393e-06/0.04081, allocations: 0 / 0.7761 GB, free: 5.77 MB / 0.7292 GB Notification: Performance of Templates: time 0.01519/0.056, allocations: 11.6 MB / 0.7874 GB, free: 10.52 MB / 0.7448 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 -s gbode -gbm=radauIIA3 -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.162760731764138]