Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.642/2.642, allocations: 436.5 MB / 0.7104 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003099/0.0003099, allocations: 8 kB / 0.8708 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6412/0.6415, allocations: 153.6 MB / 1.021 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001536/0.6431, allocations: 1.07 MB / 1.022 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00354/0.6467, allocations: 2.569 MB / 1.024 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.042e-05/0.6468, allocations: 4 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.549e-05/0.6468, allocations: 15.92 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.551e-05/0.6469, allocations: 15.95 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000618/0.6475, allocations: 163.5 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000201/0.6478, allocations: 147.8 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.131e-05/0.6478, allocations: 4 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.6479, allocations: 79.86 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.6481, allocations: 111.8 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.317e-05/0.6481, allocations: 12 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004594/0.6486, allocations: 159.8 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.638e-05/0.6487, allocations: 75.84 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.052e-05/0.6488, allocations: 53.64 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.6491, allocations: 185.6 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.6491, allocations: 0 / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6491, allocations: 4 kB / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.6491, allocations: 0 / 1.025 GB, free: 12.45 MB / 0.7794 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.001022/0.6502, allocations: 0.5299 MB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.6502, allocations: 15.98 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.6504, allocations: 19.81 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.6508, allocations: 234.8 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.603e-05/0.6509, allocations: 31.94 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/0.6509, allocations: 16 kB / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007716/0.6517, allocations: 309.1 kB / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.6517, allocations: 3.938 kB / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.6517, allocations: 4 kB / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.6518, allocations: 4 kB / 1.026 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/0.6534, allocations: 0.8038 MB / 1.027 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000493/0.6539, allocations: 313 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.6557, allocations: 0.7886 MB / 1.028 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000472/0.6562, allocations: 388.4 kB / 1.029 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.6563, allocations: 30.56 kB / 1.029 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=37): time 2.625e-06/0.6563, allocations: 4 kB / 1.029 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37): time 0.00181/0.6581, allocations: 0.7411 MB / 1.029 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.6582, allocations: 55.41 kB / 1.029 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.6583, allocations: 124.8 kB / 1.03 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.6583, allocations: 37.7 kB / 1.03 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.6584, allocations: 84.8 kB / 1.03 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.6585, allocations: 130.1 kB / 1.03 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.577e-05/0.6585, allocations: 4 kB / 1.03 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.6586, allocations: 334.8 kB / 1.03 GB, free: 7.203 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005255/0.6592, allocations: 219.8 kB / 1.03 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005327/0.6597, allocations: 227.9 kB / 1.031 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004936/0.6602, allocations: 207.6 kB / 1.031 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6602, allocations: 0 / 1.031 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001148/0.6614, allocations: 0.5128 MB / 1.031 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.6614, allocations: 8 kB / 1.031 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.6614, allocations: 3.938 kB / 1.031 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.6614, allocations: 0 / 1.031 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004146/0.6618, allocations: 119.8 kB / 1.031 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.6619, allocations: 0 / 1.031 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.6621, allocations: 55.81 kB / 1.031 GB, free: 5.859 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.6621, allocations: 19.98 kB / 1.032 GB, free: 5.84 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001564/0.6623, allocations: 137.8 kB / 1.032 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.646e-05/0.6623, allocations: 23.77 kB / 1.032 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.6636, allocations: 0.5762 MB / 1.032 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.6636, allocations: 4 kB / 1.032 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.6636, allocations: 0 / 1.032 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.6637, allocations: 3.984 kB / 1.032 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.664, allocations: 309.3 kB / 1.033 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.664, allocations: 0 / 1.033 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003713/0.6644, allocations: 115.9 kB / 1.033 GB, free: 4.613 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.6644, allocations: 0 / 1.033 GB, free: 4.613 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.24e-05/0.6644, allocations: 15.94 kB / 1.033 GB, free: 4.598 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.6644, allocations: 0 / 1.033 GB, free: 4.598 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.6644, allocations: 0 / 1.033 GB, free: 4.598 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.6656, allocations: 0.5475 MB / 1.033 GB, free: 4.031 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.15e-05/0.6657, allocations: 96.86 kB / 1.033 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/0.6657, allocations: 7.938 kB / 1.033 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.666, allocations: 63.91 kB / 1.033 GB, free: 3.848 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002167/0.6662, allocations: 115.5 kB / 1.033 GB, free: 3.734 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/0.6662, allocations: 15.98 kB / 1.033 GB, free: 3.719 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.046e-05/0.6663, allocations: 103.3 kB / 1.034 GB, free: 3.617 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6663, allocations: 4 kB / 1.034 GB, free: 3.613 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003879/0.6667, allocations: 111.9 kB / 1.034 GB, free: 3.504 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003495/0.667, allocations: 190.9 kB / 1.034 GB, free: 3.309 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001182/0.6682, allocations: 0.511 MB / 1.034 GB, free: 2.797 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6682, allocations: 4 kB / 1.034 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005939/0.6688, allocations: 287.7 kB / 1.035 GB, free: 2.512 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.6692, allocations: 67.92 kB / 1.035 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007341/0.6699, allocations: 0.4957 MB / 1.035 GB, free: 1.926 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.6702, allocations: 0.737 MB / 1.036 GB, free: 1.16 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004293/0.6707, allocations: 183.6 kB / 1.036 GB, free: 0.9844 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.56e-05/0.6708, allocations: 35.41 kB / 1.036 GB, free: 0.9531 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6708, allocations: 4 kB / 1.036 GB, free: 0.9492 MB / 0.7794 GB Notification: Performance of Templates: time 0.008243/0.679, allocations: 4.674 MB / 1.041 GB, free: 12.34 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches