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.0009237/0.0009235, allocations: 92.16 kB / 16.02 MB, free: 80 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.001032/0.001033, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.456/1.456, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.67/2.67, allocations: 443.2 MB / 0.7181 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003582, allocations: 13.08 kB / 0.8801 GB, free: 42.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2688, allocations: 155.1 MB / 1.032 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.001415/0.2703, allocations: 1.112 MB / 1.033 GB, free: 3.656 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00342/0.2737, allocations: 2.879 MB / 1.036 GB, free: 0.7656 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.142e-05/0.2738, allocations: 0 / 1.036 GB, free: 0.7656 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.724e-05/0.2739, allocations: 3.938 kB / 1.036 GB, free: 0.7617 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.274, allocations: 39.8 kB / 1.036 GB, free: 0.7227 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004835/0.2745, allocations: 163.4 kB / 1.036 GB, free: 0.5625 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003237/0.2748, allocations: 331.4 kB / 1.036 GB, free: 244 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.643e-05/0.2749, allocations: 3.984 kB / 1.036 GB, free: 240 kB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.905e-05/0.275, allocations: 91.86 kB / 1.036 GB, free: 148 kB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.2751, allocations: 135.7 kB / 1.036 GB, free: 12 kB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.612e-05/0.2752, allocations: 15.98 kB / 1.036 GB, free: 15.99 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003941/0.2756, allocations: 163.7 kB / 1.036 GB, free: 15.84 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.401e-05/0.2757, allocations: 83.81 kB / 1.036 GB, free: 15.75 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.2758, allocations: 121.3 kB / 1.037 GB, free: 15.63 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.276, allocations: 179.9 kB / 1.037 GB, free: 15.45 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2761, allocations: 0 / 1.037 GB, free: 15.45 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2761, allocations: 0 / 1.037 GB, free: 15.45 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.2761, allocations: 0 / 1.037 GB, free: 15.45 MB / 0.795 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.0008079/0.2769, allocations: 0.5301 MB / 1.037 GB, free: 14.88 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.2769, allocations: 12.03 kB / 1.037 GB, free: 14.86 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.796e-05/0.277, allocations: 16.75 kB / 1.037 GB, free: 14.85 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.2773, allocations: 236 kB / 1.038 GB, free: 14.58 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.717e-05/0.2774, allocations: 24.36 kB / 1.038 GB, free: 14.55 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.2774, allocations: 20.38 kB / 1.038 GB, free: 14.54 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006951/0.2781, allocations: 321.2 kB / 1.038 GB, free: 14.21 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.2781, allocations: 0 / 1.038 GB, free: 14.21 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.2781, allocations: 8 kB / 1.038 GB, free: 14.21 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.2782, allocations: 4 kB / 1.038 GB, free: 14.2 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/0.2797, allocations: 0.8076 MB / 1.039 GB, free: 13.39 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.2801, allocations: 305.1 kB / 1.039 GB, free: 13.05 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.282, allocations: 0.7846 MB / 1.04 GB, free: 12.25 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005733/0.2826, allocations: 260.7 kB / 1.04 GB, free: 11.99 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003981/0.283, allocations: 384.3 kB / 1.04 GB, free: 11.54 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.283, allocations: 42.5 kB / 1.04 GB, free: 11.49 MB / 0.795 GB Notification: Performance of pre-optimization done (n=37): time 1.863e-06/0.283, allocations: 4 kB / 1.04 GB, free: 11.48 MB / 0.795 GB Notification: Performance of matching and sorting (n=37): time 0.001765/0.2848, allocations: 0.7357 MB / 1.041 GB, free: 10.74 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.2848, allocations: 55.41 kB / 1.041 GB, free: 10.68 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.285, allocations: 129.2 kB / 1.041 GB, free: 10.54 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.285, allocations: 33.7 kB / 1.041 GB, free: 10.5 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.2851, allocations: 92.78 kB / 1.041 GB, free: 10.41 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.2852, allocations: 126.1 kB / 1.042 GB, free: 10.29 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.882e-05/0.2852, allocations: 29.7 kB / 1.042 GB, free: 10.25 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.2854, allocations: 326.8 kB / 1.042 GB, free: 9.922 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005342/0.2859, allocations: 231.8 kB / 1.042 GB, free: 9.695 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000514/0.2864, allocations: 228.8 kB / 1.042 GB, free: 9.473 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009754/0.2874, allocations: 424.8 kB / 1.043 GB, free: 9.055 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2874, allocations: 0 / 1.043 GB, free: 9.055 MB / 0.795 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001165/0.2886, allocations: 0.5159 MB / 1.043 GB, free: 8.531 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.2886, allocations: 8 kB / 1.043 GB, free: 8.523 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.2886, allocations: 7.922 kB / 1.043 GB, free: 8.516 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.2887, allocations: 0 / 1.043 GB, free: 8.516 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/0.2891, allocations: 111.9 kB / 1.043 GB, free: 8.406 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.2891, allocations: 4 kB / 1.043 GB, free: 8.402 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.2893, allocations: 71.64 kB / 1.043 GB, free: 8.332 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.2893, allocations: 15.98 kB / 1.043 GB, free: 8.316 MB / 0.795 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.0001283/0.2895, allocations: 137.8 kB / 1.044 GB, free: 8.172 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.2895, allocations: 19.75 kB / 1.044 GB, free: 8.152 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/0.2908, allocations: 0.5688 MB / 1.044 GB, free: 7.574 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.2908, allocations: 4 kB / 1.044 GB, free: 7.57 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.2908, allocations: 0 / 1.044 GB, free: 7.57 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2909, allocations: 3.938 kB / 1.044 GB, free: 7.566 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003263/0.2912, allocations: 321.2 kB / 1.044 GB, free: 7.203 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2912, allocations: 0 / 1.044 GB, free: 7.203 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003919/0.2916, allocations: 115.8 kB / 1.045 GB, free: 7.09 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.2916, allocations: 3.938 kB / 1.045 GB, free: 7.086 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.2916, allocations: 15.98 kB / 1.045 GB, free: 7.07 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.2917, allocations: 4 kB / 1.045 GB, free: 7.066 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2917, allocations: 4 kB / 1.045 GB, free: 7.062 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.2929, allocations: 0.5395 MB / 1.045 GB, free: 6.504 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.2929, allocations: 108.8 kB / 1.045 GB, free: 6.379 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.293, allocations: 4 kB / 1.045 GB, free: 6.375 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.2932, allocations: 55.95 kB / 1.045 GB, free: 6.32 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002304/0.2934, allocations: 115.8 kB / 1.045 GB, free: 6.207 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.2935, allocations: 12 kB / 1.045 GB, free: 6.195 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.257e-05/0.2935, allocations: 106 kB / 1.046 GB, free: 6.094 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2935, allocations: 0 / 1.046 GB, free: 6.094 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004024/0.2939, allocations: 115.9 kB / 1.046 GB, free: 5.98 MB / 0.795 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.0003457/0.2943, allocations: 187 kB / 1.046 GB, free: 5.789 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001205/0.2955, allocations: 0.5149 MB / 1.046 GB, free: 5.273 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.2955, allocations: 4 kB / 1.046 GB, free: 5.27 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0006203/0.2961, allocations: 291.4 kB / 1.047 GB, free: 4.984 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.2966, allocations: 73.08 kB / 1.047 GB, free: 4.914 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007781/0.2974, allocations: 0.5247 MB / 1.047 GB, free: 4.355 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.2977, allocations: 0.7331 MB / 1.048 GB, free: 3.594 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.2978, allocations: 47.39 kB / 1.048 GB, free: 3.547 MB / 0.795 GB Notification: Performance of SimCode: time 3.41e-07/0.2978, allocations: 0 / 1.048 GB, free: 3.547 MB / 0.795 GB Notification: Performance of Templates: time 0.007086/0.3049, allocations: 4.708 MB / 1.053 GB, free: 14.9 MB / 0.8106 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