Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001117/0.001117, allocations: 114.3 kB / 16.37 MB, free: 6 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.001023/0.001023, allocations: 195.9 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.349/1.349, 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 10.1.0-maint.10.0.x/package.mo): time 2.478/2.478, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 64.09 kB / 0.8707 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2685, allocations: 151.6 MB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002261/0.2708, allocations: 1.388 MB / 1.02 GB, free: 8.453 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00319/0.274, allocations: 2.911 MB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.036e-05/0.2741, allocations: 0 / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 7.366e-05/0.2742, allocations: 7.984 kB / 1.023 GB, free: 5.523 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.2743, allocations: 39.81 kB / 1.023 GB, free: 5.484 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00051/0.2748, allocations: 195.1 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.2751, allocations: 239.5 kB / 1.023 GB, free: 5.059 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.541e-05/0.2751, allocations: 4 kB / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.92e-05/0.2752, allocations: 95.78 kB / 1.024 GB, free: 4.961 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.2753, allocations: 123.7 kB / 1.024 GB, free: 4.84 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.958e-05/0.2754, allocations: 12 kB / 1.024 GB, free: 4.828 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003291/0.2757, allocations: 135.8 kB / 1.024 GB, free: 4.695 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.805e-05/0.2758, allocations: 87.83 kB / 1.024 GB, free: 4.609 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.2759, allocations: 95.56 kB / 1.024 GB, free: 4.516 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003295/0.2763, allocations: 271.2 kB / 1.024 GB, free: 4.25 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2763, allocations: 4 kB / 1.024 GB, free: 4.246 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2763, allocations: 0 / 1.024 GB, free: 4.246 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.2763, allocations: 0 / 1.024 GB, free: 4.246 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.0008171/0.2771, allocations: 0.5261 MB / 1.025 GB, free: 3.672 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.2771, allocations: 12.92 kB / 1.025 GB, free: 3.66 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.2773, allocations: 20.75 kB / 1.025 GB, free: 3.641 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.2775, allocations: 240 kB / 1.025 GB, free: 3.367 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.043e-05/0.2776, allocations: 24.36 kB / 1.025 GB, free: 3.344 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.2776, allocations: 12.38 kB / 1.025 GB, free: 3.332 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005967/0.2782, allocations: 294.8 kB / 1.025 GB, free: 3.039 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.2782, allocations: 4 kB / 1.025 GB, free: 3.035 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.2783, allocations: 4 kB / 1.025 GB, free: 3.031 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.2783, allocations: 4 kB / 1.025 GB, free: 3.027 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.2796, allocations: 0.749 MB / 1.026 GB, free: 2.277 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.28, allocations: 313 kB / 1.026 GB, free: 1.922 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/0.2816, allocations: 0.6725 MB / 1.027 GB, free: 1.238 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000516/0.2821, allocations: 228.4 kB / 1.027 GB, free: 1.012 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004162/0.2825, allocations: 392.3 kB / 1.028 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.2825, allocations: 42.5 kB / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of pre-optimization done (n=37): time 1.453e-06/0.2826, allocations: 0 / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of matching and sorting (n=37): time 0.001543/0.2841, allocations: 0.6497 MB / 1.028 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.2841, allocations: 55.41 kB / 1.028 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.901e-05/0.2842, allocations: 127.2 kB / 1.028 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.2843, allocations: 33.7 kB / 1.028 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.107e-05/0.2843, allocations: 92.8 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.85e-05/0.2844, allocations: 130.1 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.584e-05/0.2845, allocations: 61.67 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.2846, allocations: 330.8 kB / 1.029 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004361/0.2851, allocations: 191.8 kB / 1.029 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004314/0.2855, allocations: 200.8 kB / 1.029 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008136/0.2864, allocations: 360.9 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2864, allocations: 0 / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009837/0.2874, allocations: 472.2 kB / 1.03 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.2874, allocations: 4 kB / 1.03 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2874, allocations: 7.938 kB / 1.03 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.2874, allocations: 7.984 kB / 1.03 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003448/0.2878, allocations: 99.84 kB / 1.03 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.2878, allocations: 0 / 1.03 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.288, allocations: 51.7 kB / 1.03 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/0.288, allocations: 8 kB / 1.03 GB, free: 13.61 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.0001227/0.2881, allocations: 149.8 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.557e-05/0.2882, allocations: 19.75 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/0.2893, allocations: 0.5074 MB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2893, allocations: 0 / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2893, allocations: 4 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.2893, allocations: 7.984 kB / 1.031 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002837/0.2896, allocations: 317.2 kB / 1.031 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2896, allocations: 0 / 1.031 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000328/0.2899, allocations: 99.8 kB / 1.031 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.29, allocations: 4 kB / 1.031 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.29, allocations: 15.92 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.698e-06/0.29, allocations: 4 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.29, allocations: 0 / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.2911, allocations: 0.4925 MB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.298e-05/0.2911, allocations: 100.8 kB / 1.032 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.2912, allocations: 4 kB / 1.032 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.2913, allocations: 39.95 kB / 1.032 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/0.2915, allocations: 119.8 kB / 1.032 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.2916, allocations: 11.98 kB / 1.032 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.927e-05/0.2916, allocations: 100.1 kB / 1.032 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2916, allocations: 0 / 1.032 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003521/0.292, allocations: 123.9 kB / 1.032 GB, free: 11.4 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.0003036/0.2923, allocations: 183.1 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001002/0.2933, allocations: 471.3 kB / 1.033 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2933, allocations: 4 kB / 1.033 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005025/0.2938, allocations: 259.4 kB / 1.033 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.2942, allocations: 83.84 kB / 1.033 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006661/0.2949, allocations: 426.3 kB / 1.034 GB, free: 9.973 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.2952, allocations: 0.7289 MB / 1.035 GB, free: 9.215 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003752/0.2956, allocations: 180.5 kB / 1.035 GB, free: 9.043 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.424e-05/0.2957, allocations: 43.41 kB / 1.035 GB, free: 9.004 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.2957, allocations: 0 / 1.035 GB, free: 9.004 MB / 0.8106 GB Notification: Performance of Templates: time 0.008679/0.3044, allocations: 5.271 MB / 1.04 GB, free: 3.805 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (rm -f Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches