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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001537/0.001537, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001819/0.001819, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.442/1.442, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.863/2.863, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 69.66 kB / 0.8984 GB, free: 37.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3479, allocations: 157.4 MB / 1.052 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002429/0.3504, allocations: 1.442 MB / 1.053 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003336/0.3538, allocations: 2.914 MB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.068e-05/0.3538, allocations: 0 / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.885e-05/0.354, allocations: 11.92 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.3541, allocations: 47.73 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004713/0.3545, allocations: 155.4 kB / 1.057 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002927/0.3549, allocations: 335.4 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.62e-05/0.3549, allocations: 4 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.945e-05/0.355, allocations: 87.84 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.3551, allocations: 139.7 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.3552, allocations: 12 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003722/0.3555, allocations: 147.8 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.75e-05/0.3557, allocations: 87.75 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.3558, allocations: 99.56 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003531/0.3561, allocations: 267.5 kB / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3561, allocations: 0 / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.92e-07/0.3562, allocations: 0 / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.3562, allocations: 0 / 1.058 GB, free: 3.102 MB / 0.8106 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.0007964/0.357, allocations: 0.5311 MB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.357, allocations: 8.031 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.3571, allocations: 24.75 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.3574, allocations: 240 kB / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.418e-05/0.3574, allocations: 24.36 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.3575, allocations: 16.36 kB / 1.058 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006245/0.3581, allocations: 297.2 kB / 1.059 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.3581, allocations: 0 / 1.059 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.3581, allocations: 8 kB / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.3581, allocations: 4 kB / 1.059 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.3596, allocations: 0.749 MB / 1.06 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.36, allocations: 309 kB / 1.06 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/0.3615, allocations: 0.6766 MB / 1.06 GB, free: 84 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005047/0.3621, allocations: 226.2 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004297/0.3625, allocations: 400.3 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.3626, allocations: 42.44 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 1.603e-06/0.3626, allocations: 0 / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001625/0.3642, allocations: 0.6495 MB / 1.062 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.3642, allocations: 59.41 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.973e-05/0.3644, allocations: 126.1 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.3644, allocations: 29.7 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/0.3644, allocations: 88.8 kB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.3646, allocations: 130.1 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.3647, allocations: 61.69 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.3648, allocations: 330.8 kB / 1.063 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004619/0.3653, allocations: 199.8 kB / 1.063 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004588/0.3657, allocations: 195.6 kB / 1.063 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008709/0.3666, allocations: 366.1 kB / 1.063 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3666, allocations: 0 / 1.063 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00111/0.3677, allocations: 464.6 kB / 1.064 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.3678, allocations: 8 kB / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3678, allocations: 0 / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.3678, allocations: 4 kB / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004152/0.3682, allocations: 99.84 kB / 1.064 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.076e-06/0.3683, allocations: 3.938 kB / 1.064 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.3684, allocations: 47.72 kB / 1.064 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/0.3685, allocations: 19.98 kB / 1.064 GB, free: 12.44 MB / 0.8262 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.000147/0.3686, allocations: 137.8 kB / 1.064 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.818e-05/0.3687, allocations: 23.75 kB / 1.064 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.37, allocations: 0.5173 MB / 1.065 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.37, allocations: 4 kB / 1.065 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.37, allocations: 0 / 1.065 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.37, allocations: 7.969 kB / 1.065 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003546/0.3704, allocations: 313.3 kB / 1.065 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3704, allocations: 0 / 1.065 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00038/0.3708, allocations: 103.8 kB / 1.065 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.3708, allocations: 3.938 kB / 1.065 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.033e-05/0.3708, allocations: 11.98 kB / 1.065 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.3708, allocations: 3.984 kB / 1.065 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3708, allocations: 4 kB / 1.065 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.372, allocations: 0.4883 MB / 1.065 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.597e-05/0.3721, allocations: 96.8 kB / 1.066 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.445e-05/0.3721, allocations: 8 kB / 1.066 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.3723, allocations: 43.95 kB / 1.066 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002768/0.3726, allocations: 115.8 kB / 1.066 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.3726, allocations: 11.98 kB / 1.066 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.133e-05/0.3727, allocations: 99.27 kB / 1.066 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3727, allocations: 0 / 1.066 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004161/0.3731, allocations: 115.9 kB / 1.066 GB, free: 10.26 MB / 0.8262 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.0003944/0.3736, allocations: 195 kB / 1.066 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001187/0.3748, allocations: 475.6 kB / 1.067 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.3748, allocations: 0 / 1.067 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005555/0.3753, allocations: 259.5 kB / 1.067 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.3758, allocations: 71.88 kB / 1.067 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.3768, allocations: 492.1 kB / 1.067 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.3772, allocations: 0.7292 MB / 1.068 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004837/0.3777, allocations: 183.5 kB / 1.068 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.3778, allocations: 39.36 kB / 1.068 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of SimCode: time 5.51e-07/0.3778, allocations: 0 / 1.068 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of Templates: time 0.01112/0.3889, allocations: 4.871 MB / 1.073 GB, free: 2.988 MB / 0.8262 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches