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.00152/0.00152, allocations: 87.58 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.001858/0.001858, allocations: 161 kB / 23.81 MB, free: 0.7539 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 1.045/1.045, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.952/1.952, allocations: 377.9 MB / 0.6236 GB, free: 8.551 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 2.074e-06/2.074e-06, allocations: 0 / 0.8116 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.853e-05/3.061e-05, allocations: 4.703 kB / 0.8116 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003722/0.003752, allocations: 2.236 MB / 0.8137 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002713/0.006466, allocations: 1.364 MB / 0.8151 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001604/0.006626, allocations: 4.469 kB / 0.8151 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0008774/0.007504, allocations: 239.6 kB / 0.8153 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001201/0.008705, allocations: 452.5 kB / 0.8157 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 8.065e-06/0.008713, allocations: 0.5312 kB / 0.8157 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004698/0.009183, allocations: 407.7 kB / 0.8161 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 6.097e-05/0.009244, allocations: 8.594 kB / 0.8161 GB, free: 13 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/0.009507, allocations: 191.4 kB / 0.8163 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002864/0.009793, allocations: 187.4 kB / 0.8165 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.009e-05/0.009843, allocations: 25.28 kB / 0.8165 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000602/0.01045, allocations: 279.5 kB / 0.8168 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003579/0.0108, allocations: 387.1 kB / 0.8172 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002605/0.01106, allocations: 200.1 kB / 0.8173 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0009057/0.01197, allocations: 0.6306 MB / 0.818 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.01197, allocations: 0.75 kB / 0.818 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.423e-06/0.01197, allocations: 0 / 0.818 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.01199, allocations: 1.562 kB / 0.818 GB, free: 11.13 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.001318/0.0133, allocations: 1.019 MB / 0.819 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.01334, allocations: 8.031 kB / 0.819 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005468/0.01389, allocations: 134.8 kB / 0.8191 GB, free: 9.934 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007186/0.01461, allocations: 0.4932 MB / 0.8196 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.01464, allocations: 16.38 kB / 0.8196 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.513e-05/0.01467, allocations: 12.38 kB / 0.8196 GB, free: 9.387 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000428/0.0151, allocations: 181 kB / 0.8198 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.01511, allocations: 192 / 0.8198 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.01514, allocations: 7.844 kB / 0.8198 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.01515, allocations: 7.938 kB / 0.8198 GB, free: 9.191 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003895/0.01554, allocations: 168.4 kB / 0.82 GB, free: 9.027 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001846/0.01739, allocations: 1.07 MB / 0.821 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004639/0.01785, allocations: 143.2 kB / 0.8211 GB, free: 7.77 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.018, allocations: 52.3 kB / 0.8212 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.48e-05/0.01805, allocations: 23.98 kB / 0.8212 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.01808, allocations: 41.88 kB / 0.8212 GB, free: 7.641 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=19): time 1.873e-06/0.01808, allocations: 1.719 kB / 0.8213 GB, free: 7.641 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19): time 0.0005794/0.01866, allocations: 227.9 kB / 0.8215 GB, free: 7.414 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.0187, allocations: 55.34 kB / 0.8215 GB, free: 7.348 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.01997, allocations: 1.042 MB / 0.8225 GB, free: 6.285 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.01999, allocations: 26.73 kB / 0.8226 GB, free: 6.254 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003478/0.02034, allocations: 422.8 kB / 0.823 GB, free: 5.836 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.759e-05/0.02039, allocations: 71.42 kB / 0.823 GB, free: 5.766 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.02052, allocations: 72.91 kB / 0.8231 GB, free: 5.688 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.02067, allocations: 492.4 kB / 0.8236 GB, free: 5.199 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.02084, allocations: 55.97 kB / 0.8236 GB, free: 5.145 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/0.02103, allocations: 91.33 kB / 0.8237 GB, free: 5.047 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.02134, allocations: 157.7 kB / 0.8239 GB, free: 4.887 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.02134, allocations: 0.875 kB / 0.8239 GB, free: 4.887 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005716/0.02191, allocations: 286.5 kB / 0.8241 GB, free: 4.602 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.02193, allocations: 4 kB / 0.8241 GB, free: 4.598 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.02194, allocations: 4 kB / 0.8241 GB, free: 4.594 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.02196, allocations: 0 / 0.8241 GB, free: 4.594 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.02225, allocations: 68.45 kB / 0.8242 GB, free: 4.527 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.02226, allocations: 1.938 kB / 0.8242 GB, free: 4.527 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.02251, allocations: 27.83 kB / 0.8242 GB, free: 4.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/0.02254, allocations: 12 kB / 0.8243 GB, free: 4.488 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 0.0001534/0.0227, allocations: 164.5 kB / 0.8244 GB, free: 4.316 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.02283, allocations: 82.88 kB / 0.8245 GB, free: 4.238 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004605/0.02329, allocations: 211.9 kB / 0.8247 GB, free: 4.023 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.02329, allocations: 0 / 0.8247 GB, free: 4.023 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.0233, allocations: 3.938 kB / 0.8247 GB, free: 4.02 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.0233, allocations: 0 / 0.8247 GB, free: 4.02 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/0.02494, allocations: 1.166 MB / 0.8258 GB, free: 2.734 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.02495, allocations: 7.938 kB / 0.8258 GB, free: 2.727 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.02517, allocations: 49.19 kB / 0.8259 GB, free: 2.68 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.02518, allocations: 8 kB / 0.8259 GB, free: 2.672 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.0252, allocations: 8.5 kB / 0.8259 GB, free: 2.664 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.366e-05/0.02522, allocations: 15.86 kB / 0.8259 GB, free: 2.648 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.02522, allocations: 4.844 kB / 0.8259 GB, free: 2.645 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005743/0.0258, allocations: 414.6 kB / 0.8263 GB, free: 2.145 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.02594, allocations: 79.48 kB / 0.8264 GB, free: 2.066 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.417e-05/0.02603, allocations: 8 kB / 0.8264 GB, free: 2.059 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/0.02632, allocations: 25.02 kB / 0.8264 GB, free: 2.035 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.514e-05/0.02638, allocations: 23.84 kB / 0.8264 GB, free: 2.012 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.0264, allocations: 16.66 kB / 0.8265 GB, free: 1.996 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0008628/0.02726, allocations: 0.7138 MB / 0.8272 GB, free: 1.289 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.21e-07/0.02726, allocations: 0.6562 kB / 0.8272 GB, free: 1.289 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006267/0.02789, allocations: 171.9 kB / 0.8273 GB, free: 1.121 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.0003427/0.02823, allocations: 178.5 kB / 0.8275 GB, free: 0.9414 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004117/0.02864, allocations: 155.4 kB / 0.8276 GB, free: 0.7852 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.02865, allocations: 0 / 0.8276 GB, free: 0.7852 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.02879, allocations: 73.78 kB / 0.8277 GB, free: 0.7109 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007715/0.02956, allocations: 176.7 kB / 0.8279 GB, free: 0.5391 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002604/0.03216, allocations: 1.356 MB / 0.8292 GB, free: 15.07 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.03238, allocations: 209.4 kB / 0.8294 GB, free: 14.85 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002152/0.03259, allocations: 68.38 kB / 0.8295 GB, free: 14.78 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.03273, allocations: 40.5 kB / 0.8295 GB, free: 14.73 MB / 0.7917 GB Notification: Performance of SimCode: time 8.12e-07/0.03273, allocations: 4 kB / 0.8295 GB, free: 14.73 MB / 0.7917 GB Notification: Performance of Templates: time 0.01908/0.05182, allocations: 10.81 MB / 0.8401 GB, free: 4.176 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: 5.491893369238824]