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.001046/0.001046, 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.001104/0.001104, allocations: 161 kB / 23.82 MB, free: 0.75 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.9893/0.9893, allocations: 177.1 MB / 204.2 MB, free: 5.586 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.904/1.904, allocations: 377.8 MB / 0.6236 GB, free: 8.523 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 1.473e-06/1.473e-06, allocations: 0 / 0.8115 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.529e-05/2.676e-05, allocations: 4.844 kB / 0.8115 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002241/0.002268, allocations: 1.44 MB / 0.8129 GB, free: 264 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003645/0.005913, allocations: 3.005 MB / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.568e-05/0.005969, allocations: 0 / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 9.841e-05/0.006067, allocations: 7.922 kB / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.006188, allocations: 32.97 kB / 0.8159 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006921/0.00688, allocations: 200.2 kB / 0.8161 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.007135, allocations: 247.4 kB / 0.8163 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.501e-05/0.00717, allocations: 9.5 kB / 0.8163 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.00729, allocations: 115.8 kB / 0.8164 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.007423, allocations: 123.7 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.007453, allocations: 8 kB / 0.8166 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000392/0.007845, allocations: 140.9 kB / 0.8167 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.506e-05/0.00794, allocations: 95.77 kB / 0.8168 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.409e-05/0.008034, allocations: 72.73 kB / 0.8169 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003657/0.0084, allocations: 303.1 kB / 0.8172 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.008404, allocations: 0 / 0.8172 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.182e-06/0.008405, allocations: 9.406 kB / 0.8172 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.008409, allocations: 0 / 0.8172 GB, free: 11.92 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.0006766/0.009086, allocations: 0.5647 MB / 0.8177 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.009126, allocations: 12.03 kB / 0.8177 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/0.009272, allocations: 36.83 kB / 0.8178 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.009471, allocations: 176.3 kB / 0.8179 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.336e-05/0.009514, allocations: 20.36 kB / 0.8179 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.009541, allocations: 18.72 kB / 0.818 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003411/0.009882, allocations: 190.8 kB / 0.8181 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.009892, allocations: 192 / 0.8181 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.009913, allocations: 12.12 kB / 0.8182 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.009924, allocations: 4 kB / 0.8182 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005984/0.01052, allocations: 451.5 kB / 0.8186 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002488/0.01077, allocations: 196.9 kB / 0.8188 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008236/0.01159, allocations: 0.4953 MB / 0.8193 GB, free: 9.652 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.01176, allocations: 104.4 kB / 0.8194 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002213/0.01198, allocations: 76.61 kB / 0.8194 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.01201, allocations: 34.33 kB / 0.8195 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=37): time 2.394e-06/0.01201, allocations: 0.6562 kB / 0.8195 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37): time 0.000624/0.01263, allocations: 339.3 kB / 0.8198 GB, free: 9.098 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.01267, allocations: 63.28 kB / 0.8199 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.441e-05/0.01276, allocations: 181.9 kB / 0.82 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.01279, allocations: 37.7 kB / 0.8201 GB, free: 8.785 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.101e-05/0.01284, allocations: 135.5 kB / 0.8202 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.726e-05/0.01293, allocations: 134.9 kB / 0.8203 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.725e-05/0.01302, allocations: 71.34 kB / 0.8204 GB, free: 8.434 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002549/0.01328, allocations: 0.5001 MB / 0.8209 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.01341, allocations: 71.94 kB / 0.8209 GB, free: 7.852 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.01355, allocations: 86.03 kB / 0.821 GB, free: 7.77 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.0138, allocations: 140 kB / 0.8212 GB, free: 7.629 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.0138, allocations: 0 / 0.8212 GB, free: 7.629 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000407/0.01421, allocations: 244.9 kB / 0.8214 GB, free: 7.383 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.01423, allocations: 10.66 kB / 0.8214 GB, free: 7.375 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.01423, allocations: 0 / 0.8214 GB, free: 7.375 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.01424, allocations: 0.9375 kB / 0.8214 GB, free: 7.375 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002838/0.01453, allocations: 104.9 kB / 0.8215 GB, free: 7.273 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.01453, allocations: 4 kB / 0.8215 GB, free: 7.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.01467, allocations: 52.89 kB / 0.8216 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.01469, allocations: 17.08 kB / 0.8216 GB, free: 7.203 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 9.364e-05/0.01479, allocations: 168.5 kB / 0.8217 GB, free: 7.027 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.01484, allocations: 32.83 kB / 0.8218 GB, free: 6.996 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004774/0.01531, allocations: 304.4 kB / 0.8221 GB, free: 6.699 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.01532, allocations: 4 kB / 0.8221 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.01532, allocations: 5.562 kB / 0.8221 GB, free: 6.691 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.01533, allocations: 7.984 kB / 0.8221 GB, free: 6.684 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.01553, allocations: 200.5 kB / 0.8223 GB, free: 6.453 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01553, allocations: 0 / 0.8223 GB, free: 6.453 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.01578, allocations: 101.5 kB / 0.8224 GB, free: 6.355 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.01579, allocations: 0 / 0.8224 GB, free: 6.355 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.01581, allocations: 16.55 kB / 0.8224 GB, free: 6.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.01581, allocations: 5.344 kB / 0.8224 GB, free: 6.336 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.01582, allocations: 3.984 kB / 0.8224 GB, free: 6.332 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004313/0.01625, allocations: 312.2 kB / 0.8227 GB, free: 6.004 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.584e-05/0.01627, allocations: 23.84 kB / 0.8227 GB, free: 5.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.0163, allocations: 8.656 kB / 0.8227 GB, free: 5.973 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.01643, allocations: 37.92 kB / 0.8228 GB, free: 5.938 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002208/0.01665, allocations: 135.7 kB / 0.8229 GB, free: 5.805 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.01667, allocations: 15.98 kB / 0.8229 GB, free: 5.789 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.541e-05/0.01672, allocations: 139.2 kB / 0.823 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01672, allocations: 2.25 kB / 0.823 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003506/0.01708, allocations: 115.8 kB / 0.8231 GB, free: 5.539 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.0003188/0.01739, allocations: 203.4 kB / 0.8233 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003886/0.01778, allocations: 227.3 kB / 0.8236 GB, free: 5.102 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01778, allocations: 0 / 0.8236 GB, free: 5.102 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.01798, allocations: 147.9 kB / 0.8237 GB, free: 4.953 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.01835, allocations: 95.91 kB / 0.8238 GB, free: 4.859 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008747/0.01922, allocations: 362.1 kB / 0.8241 GB, free: 4.48 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.69e-05/0.01928, allocations: 88.81 kB / 0.8242 GB, free: 4.375 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.00032/0.0196, allocations: 163.9 kB / 0.8244 GB, free: 4.223 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.096e-05/0.01969, allocations: 36.48 kB / 0.8244 GB, free: 4.188 MB / 0.7761 GB Notification: Performance of SimCode: time 6.81e-07/0.01969, allocations: 0 / 0.8244 GB, free: 4.188 MB / 0.7761 GB Notification: Performance of Templates: time 0.009977/0.02967, allocations: 6.289 MB / 0.8306 GB, free: 14.03 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.295626807957888]