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.001496/0.001496, allocations: 110.2 kB / 16.37 MB, free: 6.012 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.001628/0.001629, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.471/2.471, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 62.44 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3429, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002913/0.3459, allocations: 1.398 MB / 1.028 GB, free: 0.6523 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004133/0.35, allocations: 2.909 MB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.855e-05/0.3501, allocations: 0 / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.081e-05/0.3502, allocations: 7.938 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.3504, allocations: 43.8 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007106/0.3511, allocations: 191.1 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003025/0.3514, allocations: 239.5 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.729e-05/0.3515, allocations: 4 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.3516, allocations: 95.78 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.3518, allocations: 119.8 kB / 1.032 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.561e-05/0.3518, allocations: 12 kB / 1.032 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004449/0.3523, allocations: 131.9 kB / 1.032 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.3524, allocations: 95.75 kB / 1.032 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.3526, allocations: 91.62 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004986/0.3531, allocations: 279.2 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3531, allocations: 0 / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3531, allocations: 0 / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.3531, allocations: 0 / 1.032 GB, free: 12.45 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.0009011/0.354, allocations: 0.5312 MB / 1.033 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.3541, allocations: 8.031 kB / 1.033 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.3542, allocations: 20.75 kB / 1.033 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.3545, allocations: 240 kB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.74e-05/0.3546, allocations: 28.36 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.3546, allocations: 12.38 kB / 1.033 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006328/0.3553, allocations: 297.2 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3553, allocations: 3.984 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.3553, allocations: 8 kB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3553, allocations: 4 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/0.3568, allocations: 0.7491 MB / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003882/0.3572, allocations: 301.1 kB / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.3588, allocations: 0.68 MB / 1.035 GB, free: 9.426 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004727/0.3592, allocations: 228.7 kB / 1.035 GB, free: 9.199 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004678/0.3597, allocations: 396.3 kB / 1.036 GB, free: 8.738 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.3598, allocations: 34.5 kB / 1.036 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=37): time 1.864e-06/0.3598, allocations: 0 / 1.036 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of matching and sorting (n=37): time 0.001534/0.3613, allocations: 0.648 MB / 1.036 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.3614, allocations: 63.34 kB / 1.036 GB, free: 7.969 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.865e-05/0.3615, allocations: 126.1 kB / 1.036 GB, free: 7.836 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.3615, allocations: 33.7 kB / 1.036 GB, free: 7.797 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.3616, allocations: 88.8 kB / 1.037 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.3617, allocations: 126.1 kB / 1.037 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.3618, allocations: 65.69 kB / 1.037 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.3619, allocations: 334.8 kB / 1.037 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004435/0.3624, allocations: 187.8 kB / 1.037 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004453/0.3628, allocations: 208.5 kB / 1.037 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008016/0.3636, allocations: 352.5 kB / 1.038 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.3637, allocations: 4 kB / 1.038 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001/0.3647, allocations: 472.9 kB / 1.038 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.3647, allocations: 10.66 kB / 1.038 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.3647, allocations: 4 kB / 1.038 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.3647, allocations: 0 / 1.038 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.3651, allocations: 95.84 kB / 1.038 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.3651, allocations: 0 / 1.038 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.3653, allocations: 51.72 kB / 1.038 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.3653, allocations: 15.98 kB / 1.038 GB, free: 5.797 MB / 0.8106 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.0001477/0.3655, allocations: 149.7 kB / 1.039 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.245e-05/0.3655, allocations: 19.75 kB / 1.039 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/0.3667, allocations: 0.502 MB / 1.039 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.3667, allocations: 4 kB / 1.039 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.3667, allocations: 4 kB / 1.039 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3667, allocations: 3.938 kB / 1.039 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000335/0.3671, allocations: 325.1 kB / 1.039 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3671, allocations: 0 / 1.039 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003104/0.3674, allocations: 99.8 kB / 1.039 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.3674, allocations: 0 / 1.039 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/0.3674, allocations: 15.97 kB / 1.039 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.3674, allocations: 4 kB / 1.039 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3675, allocations: 0 / 1.039 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.3685, allocations: 0.4964 MB / 1.04 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.174e-05/0.3685, allocations: 100.8 kB / 1.04 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.358e-05/0.3686, allocations: 4 kB / 1.04 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.3687, allocations: 39.95 kB / 1.04 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002325/0.369, allocations: 115.8 kB / 1.04 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.852e-05/0.369, allocations: 19.98 kB / 1.04 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.187e-05/0.3691, allocations: 95.27 kB / 1.04 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3691, allocations: 0 / 1.04 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003913/0.3695, allocations: 119.9 kB / 1.04 GB, free: 3.598 MB / 0.8106 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.0003442/0.3698, allocations: 195 kB / 1.041 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001014/0.3709, allocations: 467.3 kB / 1.041 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3709, allocations: 0 / 1.041 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005073/0.3714, allocations: 267.4 kB / 1.041 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.3718, allocations: 75.92 kB / 1.041 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008075/0.3726, allocations: 420 kB / 1.042 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.3729, allocations: 0.7328 MB / 1.042 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003716/0.3733, allocations: 187.6 kB / 1.043 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.63e-05/0.3734, allocations: 39.41 kB / 1.043 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of SimCode: time 3.7e-07/0.3734, allocations: 0 / 1.043 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of Templates: time 0.009192/0.3826, allocations: 5.266 MB / 1.048 GB, free: 12 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches