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.0009353/0.0009353, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001056/0.001056, allocations: 170.5 kB / 24.87 MB, free: 8.867 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.9788/0.9788, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.979/1.979, allocations: 377.9 MB / 0.6247 GB, free: 8.395 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.153e-06/1.153e-06, allocations: 0 / 0.8128 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08e-05/1.195e-05, allocations: 2.844 kB / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001593/0.001605, allocations: 1.437 MB / 0.8142 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002484/0.004088, allocations: 2.969 MB / 0.8171 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.789e-05/0.004126, allocations: 3.938 kB / 0.8171 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 7.29e-05/0.004199, allocations: 4.859 kB / 0.8171 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.229e-05/0.004291, allocations: 41 kB / 0.8171 GB, free: 13 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004188/0.00471, allocations: 200.1 kB / 0.8173 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.004901, allocations: 243.4 kB / 0.8175 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.541e-05/0.004936, allocations: 9 kB / 0.8175 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.066e-05/0.005027, allocations: 115.8 kB / 0.8176 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.005129, allocations: 123.8 kB / 0.8178 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.005152, allocations: 9.031 kB / 0.8178 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002425/0.005394, allocations: 139.8 kB / 0.8179 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.738e-05/0.005462, allocations: 97.58 kB / 0.818 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.031e-05/0.005522, allocations: 75.83 kB / 0.8181 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.005778, allocations: 299.1 kB / 0.8184 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.005779, allocations: 0 / 0.8184 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.01e-07/0.00578, allocations: 4 kB / 0.8184 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.005783, allocations: 1.531 kB / 0.8184 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.0005197/0.006303, allocations: 0.5714 MB / 0.8189 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.006332, allocations: 12.03 kB / 0.8189 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.006437, allocations: 32.83 kB / 0.819 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.006587, allocations: 172.9 kB / 0.8191 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.503e-05/0.006622, allocations: 24.36 kB / 0.8192 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.006639, allocations: 13.09 kB / 0.8192 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.006858, allocations: 168.7 kB / 0.8193 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.006868, allocations: 8.172 kB / 0.8193 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.006885, allocations: 12.12 kB / 0.8193 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.006891, allocations: 4 kB / 0.8193 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004444/0.007336, allocations: 340.7 kB / 0.8197 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000176/0.007512, allocations: 177.6 kB / 0.8198 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005287/0.00804, allocations: 435.7 kB / 0.8203 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.14e-05/0.008122, allocations: 79.64 kB / 0.8203 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001573/0.008279, allocations: 72.91 kB / 0.8204 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.008301, allocations: 47.66 kB / 0.8204 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=37): time 1.292e-06/0.008302, allocations: 0 / 0.8204 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37): time 0.0003523/0.008654, allocations: 268.7 kB / 0.8207 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.008678, allocations: 55.41 kB / 0.8208 GB, free: 9.121 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.117e-05/0.008759, allocations: 190.7 kB / 0.8209 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.008775, allocations: 29.7 kB / 0.821 GB, free: 8.883 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.859e-05/0.008814, allocations: 137.6 kB / 0.8211 GB, free: 8.742 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.363e-05/0.008888, allocations: 138.8 kB / 0.8212 GB, free: 8.605 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-05/0.008952, allocations: 79.3 kB / 0.8213 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.009056, allocations: 0.5001 MB / 0.8218 GB, free: 8.008 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.27e-05/0.009118, allocations: 47.95 kB / 0.8218 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.754e-05/0.009186, allocations: 51.7 kB / 0.8219 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.009324, allocations: 113.6 kB / 0.822 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.009326, allocations: 3.438 kB / 0.822 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002349/0.00956, allocations: 197.3 kB / 0.8222 GB, free: 7.598 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/0.00957, allocations: 4 kB / 0.8222 GB, free: 7.594 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.009574, allocations: 0 / 0.8222 GB, free: 7.594 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.009583, allocations: 7.984 kB / 0.8222 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.009791, allocations: 95.86 kB / 0.8223 GB, free: 7.492 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.009796, allocations: 3.938 kB / 0.8223 GB, free: 7.488 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.744e-05/0.009893, allocations: 53.41 kB / 0.8223 GB, free: 7.438 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.009909, allocations: 11.98 kB / 0.8224 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 7.642e-05/0.009985, allocations: 173 kB / 0.8225 GB, free: 7.246 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.387e-05/0.01002, allocations: 32.45 kB / 0.8226 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002917/0.01031, allocations: 264 kB / 0.8228 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.01031, allocations: 4 kB / 0.8228 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.01032, allocations: 0 / 0.8228 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.01032, allocations: 3.938 kB / 0.8228 GB, free: 6.949 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.01047, allocations: 185.9 kB / 0.823 GB, free: 6.742 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.01047, allocations: 3.938 kB / 0.823 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.01067, allocations: 93.58 kB / 0.8231 GB, free: 6.648 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.01067, allocations: 0 / 0.8231 GB, free: 6.648 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.01069, allocations: 20.62 kB / 0.8231 GB, free: 6.629 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.01069, allocations: 7.938 kB / 0.8231 GB, free: 6.621 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01069, allocations: 1.625 kB / 0.8231 GB, free: 6.621 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.01096, allocations: 263.9 kB / 0.8234 GB, free: 6.34 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.406e-05/0.01097, allocations: 15.84 kB / 0.8234 GB, free: 6.324 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.01099, allocations: 8 kB / 0.8234 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.115e-05/0.01108, allocations: 47.58 kB / 0.8234 GB, free: 6.273 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/0.01115, allocations: 43.92 kB / 0.8235 GB, free: 6.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.01116, allocations: 11.98 kB / 0.8235 GB, free: 6.219 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.804e-05/0.0112, allocations: 140.8 kB / 0.8236 GB, free: 6.082 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.2e-07/0.0112, allocations: 0 / 0.8236 GB, free: 6.082 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002269/0.01143, allocations: 119.7 kB / 0.8237 GB, free: 5.965 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.0002237/0.01165, allocations: 197.3 kB / 0.8239 GB, free: 5.77 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002304/0.01188, allocations: 199.4 kB / 0.8241 GB, free: 5.57 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.01188, allocations: 4 kB / 0.8241 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.012, allocations: 127.5 kB / 0.8242 GB, free: 5.438 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.01226, allocations: 103.1 kB / 0.8243 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006326/0.01289, allocations: 351.1 kB / 0.8247 GB, free: 4.973 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.248e-05/0.01295, allocations: 88.81 kB / 0.8248 GB, free: 4.867 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001451/0.01309, allocations: 68.02 kB / 0.8248 GB, free: 4.809 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.01327, allocations: 166.1 kB / 0.825 GB, free: 4.645 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.01328, allocations: 0 / 0.825 GB, free: 4.645 MB / 0.7761 GB Notification: Performance of Templates: time 0.00723/0.02051, allocations: 6.551 MB / 0.8314 GB, free: 14.22 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.32121395226568]