Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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.001503/0.001503, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.0009578/0.0009578, allocations: 161 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.9321/0.9321, allocations: 177.2 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 2.006/2.006, allocations: 377.8 MB / 0.6236 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 177] 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.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.[0-9,]+.|cp.[0-9,]+.|lambda.[0-9,]+.|eta.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.[0-9,]+.|cp.[0-9,]+.|lambda.[0-9,]+.|eta.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.161e-05/3.367e-05, allocations: 4.844 kB / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002746/0.002779, allocations: 1.448 MB / 0.8129 GB, free: 300 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003928/0.006708, allocations: 2.997 MB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.935e-05/0.006747, allocations: 0 / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 9.127e-05/0.006838, allocations: 7.922 kB / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.006961, allocations: 39.75 kB / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006032/0.007564, allocations: 198 kB / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.007789, allocations: 251.4 kB / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.227e-05/0.007822, allocations: 8 kB / 0.8163 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.477e-05/0.007917, allocations: 115.8 kB / 0.8164 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.008029, allocations: 120.3 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.988e-05/0.008059, allocations: 12 kB / 0.8166 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002817/0.008341, allocations: 136.7 kB / 0.8167 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.35e-05/0.008425, allocations: 95.77 kB / 0.8168 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.161e-05/0.008496, allocations: 73.64 kB / 0.8169 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002991/0.008795, allocations: 303 kB / 0.8172 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.008799, allocations: 4 kB / 0.8172 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.162e-06/0.0088, allocations: 0 / 0.8172 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.008805, allocations: 0.625 kB / 0.8172 GB, free: 11.96 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006072/0.009412, allocations: 0.5757 MB / 0.8177 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.009453, allocations: 8.031 kB / 0.8177 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.009585, allocations: 33.38 kB / 0.8178 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.009769, allocations: 180.3 kB / 0.8179 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.897e-05/0.009808, allocations: 25.64 kB / 0.818 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.009831, allocations: 16.38 kB / 0.818 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.01011, allocations: 191.9 kB / 0.8182 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.01012, allocations: 192 / 0.8182 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.01014, allocations: 8.125 kB / 0.8182 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.01015, allocations: 4.906 kB / 0.8182 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004545/0.0106, allocations: 451 kB / 0.8186 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000223/0.01083, allocations: 205.2 kB / 0.8188 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006673/0.01149, allocations: 499.5 kB / 0.8193 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.01163, allocations: 103.6 kB / 0.8194 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001962/0.01182, allocations: 73.94 kB / 0.8194 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.01185, allocations: 42.31 kB / 0.8195 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=37): time 1.303e-06/0.01185, allocations: 0 / 0.8195 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37): time 0.0005002/0.01235, allocations: 336 kB / 0.8198 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.01238, allocations: 60.09 kB / 0.8199 GB, free: 9.059 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.436e-05/0.01246, allocations: 189.9 kB / 0.82 GB, free: 8.855 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.01248, allocations: 33.14 kB / 0.8201 GB, free: 8.82 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.52e-05/0.01253, allocations: 135.5 kB / 0.8202 GB, free: 8.68 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.82e-05/0.01262, allocations: 134.9 kB / 0.8203 GB, free: 8.547 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.412e-05/0.01269, allocations: 75.27 kB / 0.8204 GB, free: 8.465 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.01284, allocations: 0.504 MB / 0.8209 GB, free: 7.949 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.01297, allocations: 67.94 kB / 0.821 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.01309, allocations: 83.75 kB / 0.821 GB, free: 7.801 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.01331, allocations: 136 kB / 0.8212 GB, free: 7.664 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.01331, allocations: 0 / 0.8212 GB, free: 7.664 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003337/0.01364, allocations: 244.9 kB / 0.8214 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.01365, allocations: 4.625 kB / 0.8214 GB, free: 7.414 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.01366, allocations: 0.5 kB / 0.8214 GB, free: 7.414 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.01368, allocations: 4.781 kB / 0.8214 GB, free: 7.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.0139, allocations: 108.3 kB / 0.8215 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.01391, allocations: 1.094 kB / 0.8215 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.636e-05/0.01401, allocations: 48.5 kB / 0.8216 GB, free: 7.258 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.01402, allocations: 17.78 kB / 0.8216 GB, free: 7.242 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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 8.045e-05/0.0141, allocations: 168.5 kB / 0.8217 GB, free: 7.066 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/0.01414, allocations: 35.84 kB / 0.8218 GB, free: 7.031 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003882/0.01453, allocations: 309.7 kB / 0.8221 GB, free: 6.73 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.01453, allocations: 7.469 kB / 0.8221 GB, free: 6.727 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.01453, allocations: 3.938 kB / 0.8221 GB, free: 6.723 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.01454, allocations: 0 / 0.8221 GB, free: 6.723 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.0147, allocations: 200.5 kB / 0.8223 GB, free: 6.492 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.0147, allocations: 0 / 0.8223 GB, free: 6.492 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.0149, allocations: 99.84 kB / 0.8224 GB, free: 6.395 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.0149, allocations: 0 / 0.8224 GB, free: 6.395 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.01492, allocations: 12.94 kB / 0.8224 GB, free: 6.383 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.01492, allocations: 7.984 kB / 0.8224 GB, free: 6.375 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.01492, allocations: 4 kB / 0.8224 GB, free: 6.371 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003401/0.01526, allocations: 317.2 kB / 0.8227 GB, free: 6.039 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.716e-05/0.01528, allocations: 15.84 kB / 0.8227 GB, free: 6.023 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.0153, allocations: 13.08 kB / 0.8227 GB, free: 6.012 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.747e-05/0.01539, allocations: 37.09 kB / 0.8228 GB, free: 5.977 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.01555, allocations: 139.7 kB / 0.8229 GB, free: 5.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.01557, allocations: 15.98 kB / 0.8229 GB, free: 5.824 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.192e-05/0.01562, allocations: 136.3 kB / 0.823 GB, free: 5.691 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01562, allocations: 0 / 0.823 GB, free: 5.691 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002585/0.01588, allocations: 119.8 kB / 0.8231 GB, free: 5.574 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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.0002542/0.01613, allocations: 197.8 kB / 0.8233 GB, free: 5.375 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003095/0.01644, allocations: 227.3 kB / 0.8236 GB, free: 5.148 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01644, allocations: 1.25 kB / 0.8236 GB, free: 5.148 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.01659, allocations: 151.9 kB / 0.8237 GB, free: 4.996 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.01687, allocations: 98.3 kB / 0.8238 GB, free: 4.902 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007578/0.01763, allocations: 359.1 kB / 0.8241 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.762e-05/0.01767, allocations: 88.81 kB / 0.8242 GB, free: 4.418 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002389/0.01791, allocations: 157 kB / 0.8244 GB, free: 4.273 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.222e-05/0.01798, allocations: 44.47 kB / 0.8244 GB, free: 4.23 MB / 0.7761 GB Notification: Performance of SimCode: time 7.71e-07/0.01799, allocations: 4 kB / 0.8244 GB, free: 4.227 MB / 0.7761 GB Notification: Performance of Templates: time 0.007132/0.02512, allocations: 5.51 MB / 0.8298 GB, free: 14.84 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.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.605810491833836]