Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001267/0.001267, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001258/0.001257, allocations: 191.4 kB / 17.34 MB, free: 5.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.408/2.408, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 67.91 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7382/0.7395, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002367/0.7419, allocations: 1.381 MB / 1.169 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003625/0.7455, allocations: 2.924 MB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.172e-05/0.7456, allocations: 0 / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 8.426e-05/0.7457, allocations: 7.922 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.7458, allocations: 39.81 kB / 1.172 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006262/0.7465, allocations: 187.1 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002788/0.7468, allocations: 239.5 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.511e-05/0.7468, allocations: 4 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.7469, allocations: 91.84 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.7471, allocations: 127.7 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.481e-05/0.7472, allocations: 15.94 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004517/0.7476, allocations: 139.8 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.386e-05/0.7477, allocations: 83.81 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.7478, allocations: 91.58 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004061/0.7483, allocations: 273 kB / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.7483, allocations: 0 / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7483, allocations: 0 / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.7483, allocations: 4 kB / 1.173 GB, free: 14.22 MB / 0.9044 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.000795/0.7491, allocations: 0.53 MB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.7491, allocations: 8.922 kB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.7493, allocations: 16.75 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.7496, allocations: 248 kB / 1.174 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.829e-05/0.7497, allocations: 28.36 kB / 1.174 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/0.7497, allocations: 12.38 kB / 1.174 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006267/0.7503, allocations: 294.8 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.7503, allocations: 0 / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/0.7504, allocations: 8 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.7504, allocations: 4 kB / 1.174 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/0.7518, allocations: 0.7491 MB / 1.175 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003806/0.7522, allocations: 305.1 kB / 1.175 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.7538, allocations: 0.6713 MB / 1.176 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004754/0.7543, allocations: 232.6 kB / 1.176 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004185/0.7547, allocations: 392.3 kB / 1.176 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.7548, allocations: 42.5 kB / 1.176 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=37): time 2.134e-06/0.7548, allocations: 4 kB / 1.176 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37): time 0.00159/0.7564, allocations: 0.642 MB / 1.177 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.7564, allocations: 59.39 kB / 1.177 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.7565, allocations: 124.1 kB / 1.177 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.7566, allocations: 33.7 kB / 1.177 GB, free: 9.582 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.7566, allocations: 92.78 kB / 1.177 GB, free: 9.488 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.7568, allocations: 134 kB / 1.177 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.779e-05/0.7569, allocations: 65.67 kB / 1.177 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.757, allocations: 326.8 kB / 1.178 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004569/0.7574, allocations: 199.7 kB / 1.178 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004497/0.7579, allocations: 197 kB / 1.178 GB, free: 8.57 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008453/0.7588, allocations: 368.7 kB / 1.178 GB, free: 8.207 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.7588, allocations: 0 / 1.178 GB, free: 8.207 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001053/0.7598, allocations: 468.3 kB / 1.179 GB, free: 7.742 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.7599, allocations: 4 kB / 1.179 GB, free: 7.738 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.7599, allocations: 0 / 1.179 GB, free: 7.738 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.7599, allocations: 4 kB / 1.179 GB, free: 7.734 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003606/0.7603, allocations: 103.8 kB / 1.179 GB, free: 7.633 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.7603, allocations: 0 / 1.179 GB, free: 7.633 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.7605, allocations: 51.73 kB / 1.179 GB, free: 7.582 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.7605, allocations: 12 kB / 1.179 GB, free: 7.57 MB / 0.9044 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 0.0001342/0.7606, allocations: 137.8 kB / 1.179 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.65e-05/0.7607, allocations: 23.73 kB / 1.179 GB, free: 7.402 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.7619, allocations: 0.5141 MB / 1.18 GB, free: 6.875 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.7619, allocations: 8 kB / 1.18 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.7619, allocations: 0 / 1.18 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.7619, allocations: 3.984 kB / 1.18 GB, free: 6.863 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003502/0.7623, allocations: 309.2 kB / 1.18 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.7623, allocations: 0 / 1.18 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000335/0.7627, allocations: 103.8 kB / 1.18 GB, free: 6.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.7627, allocations: 0 / 1.18 GB, free: 6.41 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.7627, allocations: 11.98 kB / 1.18 GB, free: 6.398 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.7627, allocations: 4 kB / 1.18 GB, free: 6.395 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.7627, allocations: 0 / 1.18 GB, free: 6.395 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.7638, allocations: 0.4965 MB / 1.18 GB, free: 5.879 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.636e-05/0.7639, allocations: 104.7 kB / 1.181 GB, free: 5.758 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.7639, allocations: 8 kB / 1.181 GB, free: 5.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.7641, allocations: 39.95 kB / 1.181 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002419/0.7644, allocations: 119.7 kB / 1.181 GB, free: 5.594 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.7644, allocations: 15.98 kB / 1.181 GB, free: 5.578 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.968e-05/0.7645, allocations: 100.6 kB / 1.181 GB, free: 5.48 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7645, allocations: 0 / 1.181 GB, free: 5.48 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004075/0.7649, allocations: 115.9 kB / 1.181 GB, free: 5.367 MB / 0.9044 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.0003876/0.7653, allocations: 195 kB / 1.181 GB, free: 5.168 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001086/0.7664, allocations: 471.3 kB / 1.182 GB, free: 4.707 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.7664, allocations: 0 / 1.182 GB, free: 4.707 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005106/0.7669, allocations: 255.7 kB / 1.182 GB, free: 4.457 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.7674, allocations: 79.86 kB / 1.182 GB, free: 4.379 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007705/0.7681, allocations: 457.6 kB / 1.182 GB, free: 3.898 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.7684, allocations: 0.7289 MB / 1.183 GB, free: 3.141 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.7686, allocations: 47.39 kB / 1.183 GB, free: 3.098 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.7686, allocations: 0 / 1.183 GB, free: 3.098 MB / 0.9044 GB Notification: Performance of Templates: time 0.007223/0.7758, allocations: 4.756 MB / 1.188 GB, free: 14.41 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (rm -f Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches