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.001369/0.001369, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 200.5 kB / 16.79 MB, free: 6.809 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.382/1.382, allocations: 222.9 MB / 240.5 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.815/2.815, allocations: 461.8 MB / 0.7348 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 64.03 kB / 0.899 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2692, allocations: 157.4 MB / 1.053 GB, free: 8.379 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002646/0.2718, allocations: 1.442 MB / 1.054 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00362/0.2755, allocations: 2.921 MB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.82e-05/0.2756, allocations: 0 / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.3e-05/0.2757, allocations: 11.92 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.2758, allocations: 39.81 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005694/0.2764, allocations: 151.4 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003193/0.2767, allocations: 343.3 kB / 1.058 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.2768, allocations: 8 kB / 1.058 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.2769, allocations: 87.86 kB / 1.058 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.2771, allocations: 135.7 kB / 1.058 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.835e-05/0.2771, allocations: 8 kB / 1.058 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005144/0.2777, allocations: 151.7 kB / 1.058 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.2778, allocations: 87.81 kB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.2779, allocations: 99.58 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.2782, allocations: 183.9 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2782, allocations: 0 / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.91e-07/0.2782, allocations: 0 / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.2782, allocations: 0 / 1.058 GB, free: 2.703 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.0008197/0.2791, allocations: 0.5339 MB / 1.059 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.2791, allocations: 11.97 kB / 1.059 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.2792, allocations: 20.75 kB / 1.059 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.2795, allocations: 240 kB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.219e-05/0.2796, allocations: 24.36 kB / 1.059 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.2796, allocations: 12.38 kB / 1.059 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006347/0.2802, allocations: 293.2 kB / 1.059 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.2803, allocations: 7.922 kB / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.2803, allocations: 8 kB / 1.059 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2803, allocations: 4 kB / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.2817, allocations: 0.7452 MB / 1.06 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.2821, allocations: 317 kB / 1.06 GB, free: 372 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/0.2836, allocations: 0.6792 MB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004734/0.2841, allocations: 224.7 kB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000396/0.2845, allocations: 396.3 kB / 1.062 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.2846, allocations: 34.5 kB / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 3.507e-06/0.2846, allocations: 0 / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001553/0.2861, allocations: 0.6597 MB / 1.062 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.2862, allocations: 55.41 kB / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.2863, allocations: 130.1 kB / 1.062 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.2863, allocations: 33.7 kB / 1.063 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.046e-05/0.2864, allocations: 84.8 kB / 1.063 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.2865, allocations: 130.1 kB / 1.063 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.715e-05/0.2866, allocations: 65.69 kB / 1.063 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.2867, allocations: 330.8 kB / 1.063 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004552/0.2872, allocations: 191.8 kB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004567/0.2876, allocations: 207.5 kB / 1.063 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008219/0.2885, allocations: 361.2 kB / 1.064 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2885, allocations: 0 / 1.064 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001017/0.2895, allocations: 468.6 kB / 1.064 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.2895, allocations: 9.875 kB / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2895, allocations: 0 / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.2896, allocations: 4 kB / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003567/0.2899, allocations: 95.84 kB / 1.064 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.2899, allocations: 0 / 1.064 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.2901, allocations: 47.81 kB / 1.064 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/0.2902, allocations: 15.98 kB / 1.064 GB, free: 12.04 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.0001203/0.2903, allocations: 141.8 kB / 1.065 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.2904, allocations: 19.75 kB / 1.065 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.2915, allocations: 0.5172 MB / 1.065 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.2915, allocations: 7.938 kB / 1.065 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.2915, allocations: 0 / 1.065 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.2915, allocations: 0 / 1.065 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/0.2918, allocations: 313.3 kB / 1.065 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2919, allocations: 7.984 kB / 1.065 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003416/0.2922, allocations: 103.8 kB / 1.066 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.2922, allocations: 3.984 kB / 1.066 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/0.2922, allocations: 11.98 kB / 1.066 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-06/0.2923, allocations: 0 / 1.066 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2923, allocations: 0 / 1.066 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.2933, allocations: 0.4923 MB / 1.066 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/0.2934, allocations: 96.8 kB / 1.066 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.745e-05/0.2934, allocations: 8 kB / 1.066 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.2936, allocations: 39.95 kB / 1.066 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002097/0.2938, allocations: 119.8 kB / 1.066 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.2938, allocations: 11.98 kB / 1.066 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.775e-05/0.2939, allocations: 99.27 kB / 1.066 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2939, allocations: 0 / 1.066 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000386/0.2943, allocations: 111.9 kB / 1.066 GB, free: 9.859 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.0003506/0.2947, allocations: 195 kB / 1.067 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001028/0.2957, allocations: 459.6 kB / 1.067 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.2957, allocations: 0 / 1.067 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005402/0.2963, allocations: 275.8 kB / 1.067 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.2967, allocations: 75.81 kB / 1.067 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000769/0.2975, allocations: 0.5057 MB / 1.068 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.2977, allocations: 0.7331 MB / 1.069 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.2979, allocations: 43.41 kB / 1.069 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of SimCode: time 5.41e-07/0.2979, allocations: 0 / 1.069 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of Templates: time 0.007078/0.305, allocations: 4.731 MB / 1.073 GB, free: 2.852 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/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