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.0009364/0.0009364, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001063/0.001063, allocations: 181 kB / 24.09 MB, free: 416 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.9852/0.9852, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.888/1.888, allocations: 377.9 MB / 0.624 GB, free: 8.391 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.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.373e-06/1.373e-06, allocations: 0 / 0.812 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.281e-05, allocations: 2.312 kB / 0.812 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.005219/0.005242, allocations: 1.446 MB / 0.8134 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.006217/0.01146, allocations: 2.965 MB / 0.8163 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.318e-05/0.01151, allocations: 0.7812 kB / 0.8163 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 8.316e-05/0.01159, allocations: 7.922 kB / 0.8163 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.01171, allocations: 40.81 kB / 0.8163 GB, free: 13 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005126/0.01222, allocations: 196.2 kB / 0.8165 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.01244, allocations: 250 kB / 0.8168 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.01248, allocations: 11.98 kB / 0.8168 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.01261, allocations: 111.8 kB / 0.8169 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.01273, allocations: 119.8 kB / 0.817 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.948e-05/0.01276, allocations: 12 kB / 0.817 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003063/0.01307, allocations: 147.7 kB / 0.8171 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8e-05/0.01315, allocations: 87.84 kB / 0.8172 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.557e-05/0.01323, allocations: 76.36 kB / 0.8173 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.01357, allocations: 303.8 kB / 0.8176 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.01358, allocations: 0 / 0.8176 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.122e-06/0.01358, allocations: 4.469 kB / 0.8176 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.01358, allocations: 1.656 kB / 0.8176 GB, free: 11.71 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.0006318/0.01421, allocations: 0.5706 MB / 0.8182 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.01425, allocations: 8.031 kB / 0.8182 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.01438, allocations: 29.62 kB / 0.8182 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.01468, allocations: 182.9 kB / 0.8184 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.123e-05/0.01472, allocations: 25.05 kB / 0.8184 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.01474, allocations: 12.38 kB / 0.8184 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.015, allocations: 167.8 kB / 0.8186 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.01501, allocations: 1.281 kB / 0.8186 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.01503, allocations: 12.12 kB / 0.8186 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.01503, allocations: 4 kB / 0.8186 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004194/0.01545, allocations: 337.5 kB / 0.8189 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002091/0.01566, allocations: 173 kB / 0.8191 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003666/0.01933, allocations: 445.4 kB / 0.8195 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.01944, allocations: 79.62 kB / 0.8196 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002149/0.01965, allocations: 88.39 kB / 0.8196 GB, free: 9.508 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.01968, allocations: 38.33 kB / 0.8197 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=37): time 2.434e-06/0.01968, allocations: 0 / 0.8197 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37): time 0.0004535/0.02013, allocations: 278.2 kB / 0.82 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.02016, allocations: 55.41 kB / 0.82 GB, free: 9.117 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.456e-05/0.02026, allocations: 185.8 kB / 0.8202 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.02028, allocations: 29.7 kB / 0.8202 GB, free: 8.883 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/0.02032, allocations: 139.5 kB / 0.8203 GB, free: 8.738 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.794e-05/0.02042, allocations: 135.4 kB / 0.8205 GB, free: 8.605 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.534e-05/0.02051, allocations: 75.86 kB / 0.8205 GB, free: 8.523 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.02064, allocations: 0.5001 MB / 0.821 GB, free: 8.012 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.682e-05/0.02073, allocations: 52.67 kB / 0.8211 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.929e-05/0.02081, allocations: 53.55 kB / 0.8211 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.02099, allocations: 109 kB / 0.8212 GB, free: 7.801 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.02099, allocations: 3.938 kB / 0.8212 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003174/0.02131, allocations: 197.3 kB / 0.8214 GB, free: 7.598 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.02132, allocations: 7.984 kB / 0.8214 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.02133, allocations: 1.344 kB / 0.8214 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.02134, allocations: 0 / 0.8214 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.0216, allocations: 96.95 kB / 0.8215 GB, free: 7.496 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.0216, allocations: 7.938 kB / 0.8215 GB, free: 7.488 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.02173, allocations: 49.19 kB / 0.8216 GB, free: 7.441 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.02175, allocations: 15.98 kB / 0.8216 GB, free: 7.426 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.22e-05/0.02184, allocations: 172.2 kB / 0.8218 GB, free: 7.25 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.503e-05/0.02188, allocations: 27.86 kB / 0.8218 GB, free: 7.223 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003406/0.02529, allocations: 269.2 kB / 0.822 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.02529, allocations: 4 kB / 0.8221 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.0253, allocations: 0 / 0.8221 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.0253, allocations: 7.938 kB / 0.8221 GB, free: 6.949 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.02549, allocations: 185.1 kB / 0.8222 GB, free: 6.742 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.0255, allocations: 7.984 kB / 0.8222 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002316/0.02573, allocations: 93.33 kB / 0.8223 GB, free: 6.645 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.02573, allocations: 4 kB / 0.8223 GB, free: 6.641 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.02575, allocations: 16.95 kB / 0.8224 GB, free: 6.625 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.02576, allocations: 3.938 kB / 0.8224 GB, free: 6.621 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.02576, allocations: 0 / 0.8224 GB, free: 6.621 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/0.0261, allocations: 265 kB / 0.8226 GB, free: 6.34 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.963e-05/0.02612, allocations: 19.84 kB / 0.8226 GB, free: 6.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.02614, allocations: 4 kB / 0.8226 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.02626, allocations: 45.02 kB / 0.8227 GB, free: 6.273 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.923e-05/0.02635, allocations: 44.92 kB / 0.8227 GB, free: 6.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.02637, allocations: 15.98 kB / 0.8227 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.915e-05/0.02642, allocations: 138 kB / 0.8229 GB, free: 6.082 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02642, allocations: 0 / 0.8229 GB, free: 6.082 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003311/0.02675, allocations: 115.8 kB / 0.823 GB, free: 5.969 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.0002942/0.02704, allocations: 202.5 kB / 0.8232 GB, free: 5.762 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002796/0.02732, allocations: 195.4 kB / 0.8234 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.02733, allocations: 0 / 0.8234 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.02748, allocations: 131.5 kB / 0.8235 GB, free: 5.434 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.02781, allocations: 91.84 kB / 0.8236 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003775/0.03159, allocations: 355.1 kB / 0.8239 GB, free: 4.969 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.204e-05/0.03165, allocations: 88.81 kB / 0.824 GB, free: 4.863 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001893/0.03184, allocations: 67.89 kB / 0.8241 GB, free: 4.805 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/0.03207, allocations: 162.1 kB / 0.8242 GB, free: 4.645 MB / 0.7761 GB Notification: Performance of SimCode: time 5.81e-07/0.03207, allocations: 0 / 0.8242 GB, free: 4.645 MB / 0.7761 GB Notification: Performance of Templates: time 0.01828/0.05035, allocations: 6.46 MB / 0.8305 GB, free: 14.3 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.239601354114711]