Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001243/0.001243, allocations: 108.6 kB / 15.99 MB, free: 6.348 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.001238/0.001238, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.381/1.381, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.658/2.658, allocations: 469.8 MB / 0.7427 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 70.5 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3116, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002573/0.3142, allocations: 1.438 MB / 1.066 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003702/0.3179, allocations: 2.894 MB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.447e-05/0.318, allocations: 0 / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 9.968e-05/0.3181, allocations: 3.938 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.3183, allocations: 43.86 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005709/0.3188, allocations: 163.4 kB / 1.069 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002862/0.3191, allocations: 243.5 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.829e-05/0.3192, allocations: 4 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.3193, allocations: 99.78 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.3195, allocations: 139.7 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.3195, allocations: 8 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003512/0.3199, allocations: 143.8 kB / 1.069 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.32, allocations: 95.75 kB / 1.069 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.3201, allocations: 87.59 kB / 1.069 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.3204, allocations: 187.9 kB / 1.07 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/0.3204, allocations: 4 kB / 1.07 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3204, allocations: 0 / 1.07 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.3204, allocations: 0 / 1.07 GB, free: 9.527 MB / 0.8419 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.0008547/0.3213, allocations: 0.53 MB / 1.07 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.3213, allocations: 12.03 kB / 1.07 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.3214, allocations: 16.75 kB / 1.07 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.3217, allocations: 240 kB / 1.07 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.98e-05/0.3218, allocations: 28.34 kB / 1.07 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/0.3218, allocations: 16.38 kB / 1.07 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006939/0.3225, allocations: 293.2 kB / 1.071 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3225, allocations: 3.938 kB / 1.071 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.3226, allocations: 4 kB / 1.071 GB, free: 8.305 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3226, allocations: 4 kB / 1.071 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/0.3241, allocations: 0.7452 MB / 1.071 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004176/0.3245, allocations: 313 kB / 1.072 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.3263, allocations: 0.6797 MB / 1.072 GB, free: 6.508 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000527/0.3268, allocations: 232.7 kB / 1.073 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004679/0.3273, allocations: 392.3 kB / 1.073 GB, free: 5.82 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.3273, allocations: 42.5 kB / 1.073 GB, free: 5.77 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=37): time 1.523e-06/0.3273, allocations: 0 / 1.073 GB, free: 5.77 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37): time 0.001715/0.3291, allocations: 0.6558 MB / 1.074 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.3291, allocations: 55.41 kB / 1.074 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.3292, allocations: 126.1 kB / 1.074 GB, free: 4.91 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.3293, allocations: 29.7 kB / 1.074 GB, free: 4.875 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.622e-05/0.3293, allocations: 92.8 kB / 1.074 GB, free: 4.777 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.3295, allocations: 126.1 kB / 1.074 GB, free: 4.652 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.3296, allocations: 69.61 kB / 1.074 GB, free: 4.578 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3297, allocations: 326.8 kB / 1.074 GB, free: 4.25 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004872/0.3302, allocations: 199.8 kB / 1.075 GB, free: 4.055 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004856/0.3307, allocations: 195.6 kB / 1.075 GB, free: 3.863 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009101/0.3316, allocations: 361.2 kB / 1.075 GB, free: 3.508 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3317, allocations: 4 kB / 1.075 GB, free: 3.504 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001131/0.3328, allocations: 464.5 kB / 1.076 GB, free: 3.043 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.3328, allocations: 10.03 kB / 1.076 GB, free: 3.035 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3328, allocations: 0 / 1.076 GB, free: 3.035 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3328, allocations: 0 / 1.076 GB, free: 3.035 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/0.3332, allocations: 99.84 kB / 1.076 GB, free: 2.938 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.3332, allocations: 4 kB / 1.076 GB, free: 2.934 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.3334, allocations: 47.8 kB / 1.076 GB, free: 2.887 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.3335, allocations: 12 kB / 1.076 GB, free: 2.875 MB / 0.8419 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.0001426/0.3336, allocations: 143.5 kB / 1.076 GB, free: 2.727 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.825e-05/0.3337, allocations: 19.75 kB / 1.076 GB, free: 2.707 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/0.3349, allocations: 0.5105 MB / 1.076 GB, free: 2.191 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.3349, allocations: 4 kB / 1.076 GB, free: 2.188 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3349, allocations: 3.984 kB / 1.076 GB, free: 2.184 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.3349, allocations: 3.984 kB / 1.076 GB, free: 2.18 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003687/0.3353, allocations: 313.3 kB / 1.077 GB, free: 1.824 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3353, allocations: 4 kB / 1.077 GB, free: 1.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003429/0.3357, allocations: 99.8 kB / 1.077 GB, free: 1.723 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.3357, allocations: 4 kB / 1.077 GB, free: 1.719 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/0.3357, allocations: 15.92 kB / 1.077 GB, free: 1.703 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3357, allocations: 4 kB / 1.077 GB, free: 1.699 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3357, allocations: 3.984 kB / 1.077 GB, free: 1.695 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.3369, allocations: 0.4922 MB / 1.077 GB, free: 1.184 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.612e-05/0.337, allocations: 104.8 kB / 1.077 GB, free: 1.062 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.337, allocations: 4 kB / 1.077 GB, free: 1.059 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.3372, allocations: 35.95 kB / 1.077 GB, free: 1.023 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002359/0.3375, allocations: 119.8 kB / 1.078 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.3375, allocations: 11.98 kB / 1.078 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.864e-05/0.3376, allocations: 102.3 kB / 1.078 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3376, allocations: 4 kB / 1.078 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003833/0.338, allocations: 119.9 kB / 1.078 GB, free: 0.6758 MB / 0.8419 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.0003606/0.3383, allocations: 187 kB / 1.078 GB, free: 496 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.4231/0.7615, allocations: 0.5508 MB / 1.078 GB, free: 23.24 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.7615, allocations: 0.5938 kB / 1.078 GB, free: 23.24 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006005/0.7621, allocations: 261.4 kB / 1.079 GB, free: 23.24 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004556/0.7626, allocations: 70.73 kB / 1.079 GB, free: 23.24 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008094/0.7634, allocations: 0.5134 MB / 1.079 GB, free: 22.99 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.7636, allocations: 0.7313 MB / 1.08 GB, free: 22.29 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.7637, allocations: 54.23 kB / 1.08 GB, free: 22.29 MB / 0.8419 GB Notification: Performance of SimCode: time 8.01e-07/0.7637, allocations: 0 / 1.08 GB, free: 22.29 MB / 0.8419 GB Notification: Performance of Templates: time 0.008529/0.7723, allocations: 4.736 MB / 1.085 GB, free: 21.9 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (rm -f Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches