Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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.PropyleneGlycolWater,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.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,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.PropyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009613/0.0009615, allocations: 100 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.0009881/0.000988, 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.355/1.355, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.555/2.555, allocations: 436.5 MB / 0.7104 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004297/0.0004299, allocations: 11.98 kB / 0.8708 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.625/0.6254, allocations: 153.6 MB / 1.021 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.001358/0.6268, allocations: 1.073 MB / 1.022 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003125/0.63, allocations: 2.573 MB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.056e-05/0.63, allocations: 0 / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.408e-05/0.6301, allocations: 3.984 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.549e-05/0.6302, allocations: 15.91 kB / 1.024 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000485/0.6307, allocations: 163.5 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.6309, allocations: 151.7 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.104e-05/0.631, allocations: 8 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.23e-05/0.6311, allocations: 83.86 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.6312, allocations: 103.8 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.534e-05/0.6312, allocations: 8 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003714/0.6316, allocations: 159.8 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.338e-05/0.6317, allocations: 75.84 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.063e-05/0.6317, allocations: 61.58 kB / 1.025 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.632, allocations: 185.6 kB / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.632, allocations: 0 / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.773e-06/0.632, allocations: 0 / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.632, 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.0007794/0.6328, allocations: 0.5299 MB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.6329, allocations: 15.98 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.633, allocations: 19.8 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.6332, allocations: 230.8 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.569e-05/0.6333, allocations: 27.94 kB / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.6333, allocations: 20 kB / 1.026 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006262/0.634, allocations: 313.1 kB / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.634, allocations: 0 / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.634, allocations: 12 kB / 1.026 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.634, allocations: 8 kB / 1.026 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001495/0.6355, allocations: 0.7999 MB / 1.027 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.6359, allocations: 313 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.6377, allocations: 0.7769 MB / 1.028 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000447/0.6381, allocations: 396.3 kB / 1.029 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.6382, allocations: 34.56 kB / 1.029 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=37): time 1.924e-06/0.6382, allocations: 0 / 1.029 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37): time 0.00168/0.6399, allocations: 0.7411 MB / 1.029 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.6399, allocations: 55.41 kB / 1.029 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.64, allocations: 122.1 kB / 1.03 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.6401, allocations: 33.7 kB / 1.03 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.708e-05/0.6401, allocations: 88.8 kB / 1.03 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.6402, allocations: 126.1 kB / 1.03 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.9e-05/0.6403, allocations: 12 kB / 1.03 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.6404, allocations: 326.8 kB / 1.03 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005078/0.6409, allocations: 219.8 kB / 1.03 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004905/0.6414, allocations: 227.9 kB / 1.031 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005204/0.6419, allocations: 203.6 kB / 1.031 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.6419, allocations: 0 / 1.031 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001096/0.643, allocations: 0.5168 MB / 1.031 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.6431, allocations: 4 kB / 1.031 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.6431, allocations: 3.938 kB / 1.031 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.6431, allocations: 0 / 1.031 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003933/0.6435, allocations: 115.8 kB / 1.031 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.6435, allocations: 0 / 1.031 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.6437, allocations: 63.81 kB / 1.031 GB, free: 5.863 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.6438, allocations: 15.92 kB / 1.031 GB, free: 5.848 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.0001433/0.6439, allocations: 141.8 kB / 1.032 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.644, allocations: 19.77 kB / 1.032 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.6453, allocations: 0.5751 MB / 1.032 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.6453, allocations: 4 kB / 1.032 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.6453, allocations: 0 / 1.032 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.6454, allocations: 0 / 1.032 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003444/0.6457, allocations: 313.3 kB / 1.033 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6457, allocations: 0 / 1.033 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003716/0.6461, allocations: 115.8 kB / 1.033 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.6461, allocations: 0 / 1.033 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.069e-05/0.6461, allocations: 23.88 kB / 1.033 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.6462, allocations: 0 / 1.033 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6462, allocations: 0 / 1.033 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.6473, allocations: 0.5475 MB / 1.033 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.174e-05/0.6474, allocations: 100.9 kB / 1.033 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.6474, allocations: 4 kB / 1.033 GB, free: 3.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.6476, allocations: 55.91 kB / 1.033 GB, free: 3.859 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002184/0.6478, allocations: 119.5 kB / 1.033 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.6479, allocations: 16 kB / 1.033 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.102e-05/0.6479, allocations: 99.25 kB / 1.034 GB, free: 3.629 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6479, allocations: 0 / 1.034 GB, free: 3.629 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003863/0.6483, allocations: 111.9 kB / 1.034 GB, free: 3.52 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.0003521/0.6487, allocations: 194.9 kB / 1.034 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001181/0.6499, allocations: 0.511 MB / 1.034 GB, free: 2.809 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6499, allocations: 0 / 1.034 GB, free: 2.809 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000557/0.6505, allocations: 291.7 kB / 1.035 GB, free: 2.523 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.6508, allocations: 66 kB / 1.035 GB, free: 2.461 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007754/0.6516, allocations: 0.4918 MB / 1.035 GB, free: 1.945 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.6519, allocations: 0.7408 MB / 1.036 GB, free: 1.176 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004139/0.6523, allocations: 186.4 kB / 1.036 GB, free: 0.9961 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.889e-05/0.6524, allocations: 39.41 kB / 1.036 GB, free: 0.9609 MB / 0.7794 GB Notification: Performance of SimCode: time 4.11e-07/0.6524, allocations: 0 / 1.036 GB, free: 0.9609 MB / 0.7794 GB Notification: Performance of Templates: time 0.008356/0.6608, allocations: 4.683 MB / 1.041 GB, free: 12.34 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches