Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.EthyleneGlycolWater,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.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,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.EthyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006323/0.006323, allocations: 96.31 kB / 15.73 MB, free: 6.035 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.001173/0.001173, allocations: 195.6 kB / 16.67 MB, free: 5.961 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.761/2.761, allocations: 472.6 MB / 0.7453 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 63.84 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3625, allocations: 159.9 MB / 1.226 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002421/0.365, allocations: 1.393 MB / 1.227 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003553/0.3686, allocations: 2.917 MB / 1.23 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.399e-05/0.3686, allocations: 0 / 1.23 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.598e-05/0.3687, allocations: 7.938 kB / 1.23 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.3689, allocations: 47.8 kB / 1.23 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005433/0.3694, allocations: 183.1 kB / 1.23 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002629/0.3697, allocations: 243.4 kB / 1.23 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.786e-05/0.3697, allocations: 8 kB / 1.23 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.453e-05/0.3698, allocations: 91.8 kB / 1.23 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.37, allocations: 115.8 kB / 1.23 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.689e-05/0.37, allocations: 15.98 kB / 1.23 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003581/0.3704, allocations: 139.9 kB / 1.231 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.73e-05/0.3705, allocations: 83.83 kB / 1.231 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.3706, allocations: 95.56 kB / 1.231 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003557/0.371, allocations: 267.1 kB / 1.231 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.371, allocations: 0 / 1.231 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.572e-06/0.371, allocations: 0 / 1.231 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.371, allocations: 4 kB / 1.231 GB, free: 3.562 MB / 0.9825 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.0008451/0.3719, allocations: 0.5373 MB / 1.232 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.3719, allocations: 12.03 kB / 1.232 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.372, allocations: 16.84 kB / 1.232 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.3723, allocations: 246.8 kB / 1.232 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.653e-05/0.3723, allocations: 28.3 kB / 1.232 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.3724, allocations: 16.38 kB / 1.232 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006511/0.373, allocations: 293.2 kB / 1.232 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.373, allocations: 0 / 1.232 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.3731, allocations: 4 kB / 1.232 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3731, allocations: 4 kB / 1.232 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001421/0.3745, allocations: 0.7452 MB / 1.233 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003672/0.3749, allocations: 305.2 kB / 1.233 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.3766, allocations: 0.6804 MB / 1.234 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005013/0.3772, allocations: 232.7 kB / 1.234 GB, free: 316 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000409/0.3776, allocations: 388.3 kB / 1.234 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.3776, allocations: 46.42 kB / 1.234 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=37): time 1.754e-06/0.3776, allocations: 4 kB / 1.234 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37): time 0.001733/0.3794, allocations: 0.6517 MB / 1.235 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.3794, allocations: 55.41 kB / 1.235 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.3795, allocations: 126.1 kB / 1.235 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.3796, allocations: 33.64 kB / 1.235 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.672e-05/0.3796, allocations: 88.8 kB / 1.235 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.3797, allocations: 126.9 kB / 1.236 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.3799, allocations: 65.62 kB / 1.236 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.38, allocations: 338.8 kB / 1.236 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004991/0.3805, allocations: 187.8 kB / 1.236 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000492/0.381, allocations: 201.7 kB / 1.236 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009572/0.382, allocations: 360.7 kB / 1.237 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.382, allocations: 0 / 1.237 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001141/0.3831, allocations: 472.4 kB / 1.237 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.3832, allocations: 10.03 kB / 1.237 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.3832, allocations: 0 / 1.237 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.3832, allocations: 0 / 1.237 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003876/0.3836, allocations: 99.84 kB / 1.237 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.3836, allocations: 4 kB / 1.237 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.3838, allocations: 51.75 kB / 1.237 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.3838, allocations: 11.98 kB / 1.237 GB, free: 12.9 MB / 0.9981 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.0001271/0.384, allocations: 146.3 kB / 1.237 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.077e-05/0.384, allocations: 19.84 kB / 1.237 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.3852, allocations: 0.5179 MB / 1.238 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.3852, allocations: 4 kB / 1.238 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3853, allocations: 0 / 1.238 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3853, allocations: 0 / 1.238 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003494/0.3856, allocations: 313.4 kB / 1.238 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3856, allocations: 4 kB / 1.238 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003981/0.386, allocations: 103.8 kB / 1.238 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.386, allocations: 0 / 1.238 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.3861, allocations: 11.98 kB / 1.238 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3861, allocations: 4 kB / 1.238 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3861, allocations: 0 / 1.238 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.3873, allocations: 0.4888 MB / 1.239 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.2e-05/0.3873, allocations: 112.8 kB / 1.239 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.646e-05/0.3874, allocations: 7.938 kB / 1.239 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.3876, allocations: 35.95 kB / 1.239 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002355/0.3878, allocations: 119.8 kB / 1.239 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/0.3879, allocations: 11.98 kB / 1.239 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.392e-05/0.3879, allocations: 106.1 kB / 1.239 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.388, allocations: 3.938 kB / 1.239 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000414/0.3884, allocations: 119.8 kB / 1.239 GB, free: 10.7 MB / 0.9981 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.0003438/0.3887, allocations: 186.9 kB / 1.239 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001151/0.3899, allocations: 467.3 kB / 1.24 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3899, allocations: 0 / 1.24 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005486/0.3904, allocations: 267.7 kB / 1.24 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.3909, allocations: 71.94 kB / 1.24 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007603/0.3916, allocations: 434.1 kB / 1.241 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.392, allocations: 0.7366 MB / 1.241 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004442/0.3925, allocations: 191.6 kB / 1.242 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.867e-05/0.3926, allocations: 39.41 kB / 1.242 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of SimCode: time 2.71e-07/0.3926, allocations: 4 kB / 1.242 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of Templates: time 0.009156/0.4017, allocations: 5.307 MB / 1.247 GB, free: 3.031 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches