Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001557/0.001556, allocations: 108.5 kB / 16.41 MB, free: 6.461 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.001781/0.001781, allocations: 187 kB / 17.34 MB, free: 5.719 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 14.94 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.276/2.276, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 55.91 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8017/0.803, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002378/0.8055, allocations: 1.394 MB / 1.09 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003378/0.8089, allocations: 2.901 MB / 1.093 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.848e-05/0.8089, allocations: 4.656 kB / 1.093 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.49e-05/0.8091, allocations: 12.05 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.8092, allocations: 45.77 kB / 1.093 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006189/0.8098, allocations: 188 kB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003235/0.8102, allocations: 239.1 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.607e-05/0.8102, allocations: 4.25 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.8103, allocations: 95.78 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.8105, allocations: 119 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.943e-05/0.8105, allocations: 10.34 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004448/0.811, allocations: 142.7 kB / 1.094 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.8111, allocations: 89.06 kB / 1.094 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.8113, allocations: 92.55 kB / 1.094 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005272/0.8118, allocations: 277.2 kB / 1.094 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.8118, allocations: 0.5156 kB / 1.094 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.013e-06/0.8118, allocations: 0.7188 kB / 1.094 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.545e-06/0.8119, allocations: 0 / 1.094 GB, free: 1.973 MB / 0.8575 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.0009307/0.8128, allocations: 0.5295 MB / 1.095 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.8128, allocations: 10.59 kB / 1.095 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.813, allocations: 17.78 kB / 1.095 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.8133, allocations: 240.8 kB / 1.095 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.375e-05/0.8134, allocations: 28.3 kB / 1.095 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.8134, allocations: 14 kB / 1.095 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007752/0.8142, allocations: 296 kB / 1.095 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.8142, allocations: 0 / 1.095 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.8143, allocations: 9.469 kB / 1.095 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.8143, allocations: 3.938 kB / 1.095 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.8161, allocations: 0.7474 MB / 1.096 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004425/0.8165, allocations: 297.1 kB / 1.096 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.8183, allocations: 0.6832 MB / 1.097 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000519/0.8188, allocations: 231.2 kB / 1.097 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003718/0.8192, allocations: 396 kB / 1.097 GB, free: 288 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.8192, allocations: 36.95 kB / 1.097 GB, free: 244 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=37): time 1.994e-06/0.8192, allocations: 0 / 1.097 GB, free: 244 kB / 0.8575 GB Notification: Performance of matching and sorting (n=37): time 0.001728/0.821, allocations: 0.6502 MB / 1.098 GB, free: 104 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.821, allocations: 58.84 kB / 1.098 GB, free: 36 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.8211, allocations: 127.7 kB / 1.098 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.8212, allocations: 34.83 kB / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 5.616e-05/0.8212, allocations: 92.39 kB / 1.098 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.8214, allocations: 120.5 kB / 1.099 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.8215, allocations: 66.73 kB / 1.099 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.8217, allocations: 329.1 kB / 1.099 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005007/0.8222, allocations: 194.2 kB / 1.099 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005049/0.8227, allocations: 204.5 kB / 1.099 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009584/0.8236, allocations: 358.1 kB / 1.1 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.8236, allocations: 0 / 1.1 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001178/0.8248, allocations: 471.3 kB / 1.1 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.8249, allocations: 5.375 kB / 1.1 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.8249, allocations: 1.031 kB / 1.1 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.8249, allocations: 1.531 kB / 1.1 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003941/0.8253, allocations: 98.53 kB / 1.1 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.8253, allocations: 1.125 kB / 1.1 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.8255, allocations: 60.86 kB / 1.1 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.8256, allocations: 10.88 kB / 1.1 GB, free: 15.07 MB / 0.8731 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.0001648/0.8258, allocations: 143 kB / 1.1 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.545e-05/0.8258, allocations: 20.28 kB / 1.1 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/0.8273, allocations: 0.5052 MB / 1.101 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.8273, allocations: 4.156 kB / 1.101 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.8273, allocations: 0.7969 kB / 1.101 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.8273, allocations: 2.031 kB / 1.101 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005529/0.8279, allocations: 321.9 kB / 1.101 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.8279, allocations: 5.328 kB / 1.101 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004082/0.8283, allocations: 97.11 kB / 1.101 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.8283, allocations: 3.156 kB / 1.101 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/0.8284, allocations: 13.86 kB / 1.101 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.8284, allocations: 1.922 kB / 1.101 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.8284, allocations: 0 / 1.101 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.8297, allocations: 0.4946 MB / 1.102 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.44e-05/0.8298, allocations: 106.6 kB / 1.102 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/0.8298, allocations: 10.12 kB / 1.102 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.83, allocations: 34.67 kB / 1.102 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003048/0.8303, allocations: 117.9 kB / 1.102 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.8303, allocations: 14.16 kB / 1.102 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 7.843e-05/0.8304, allocations: 96.91 kB / 1.102 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8304, allocations: 0 / 1.102 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005231/0.8309, allocations: 123.5 kB / 1.102 GB, free: 14.13 MB / 0.8731 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.00041/0.8314, allocations: 186.1 kB / 1.102 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001318/0.8327, allocations: 467.6 kB / 1.103 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.8327, allocations: 0 / 1.103 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000654/0.8334, allocations: 265.8 kB / 1.103 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/0.8339, allocations: 71.08 kB / 1.103 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009116/0.8348, allocations: 464.2 kB / 1.104 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.8351, allocations: 0.7309 MB / 1.104 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.8353, allocations: 48.78 kB / 1.104 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of SimCode: time 1.402e-06/0.8353, allocations: 4 kB / 1.104 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of Templates: time 0.009126/0.8444, allocations: 4.76 MB / 1.109 GB, free: 12.42 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (rm -f Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches