Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.007263/0.007263, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001734/0.001734, allocations: 190.7 kB / 16.67 MB, free: 5.953 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.207/2.207, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 63.91 kB / 0.9508 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007/1.008, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.00249/1.01, allocations: 1.386 MB / 1.089 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003643/1.014, allocations: 2.902 MB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/1.014, allocations: 8.812 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.863e-05/1.014, allocations: 7.156 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001313/1.014, allocations: 41.88 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006501/1.015, allocations: 183.3 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003253/1.015, allocations: 239.5 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.26e-05/1.015, allocations: 4.891 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/1.016, allocations: 99.34 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/1.016, allocations: 127.1 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.584e-05/1.016, allocations: 10.66 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004255/1.016, allocations: 134.3 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001501/1.016, allocations: 88.84 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001435/1.017, allocations: 92.08 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004807/1.017, allocations: 281.7 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.017, allocations: 0.75 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.563e-06/1.017, allocations: 0 / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.065e-06/1.017, allocations: 1.422 kB / 1.093 GB, free: 1.949 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.0008375/1.018, allocations: 0.5272 MB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/1.018, allocations: 8.781 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/1.018, allocations: 18.95 kB / 1.094 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/1.018, allocations: 236.3 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.735e-05/1.018, allocations: 27.94 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/1.018, allocations: 18.81 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007236/1.019, allocations: 292.2 kB / 1.094 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/1.019, allocations: 0 / 1.094 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/1.019, allocations: 9.5 kB / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/1.019, allocations: 3.062 kB / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/1.021, allocations: 0.7512 MB / 1.095 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/1.021, allocations: 301 kB / 1.095 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/1.023, allocations: 0.68 MB / 1.096 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005951/1.024, allocations: 230.9 kB / 1.096 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004455/1.024, allocations: 391.8 kB / 1.097 GB, free: 268 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/1.024, allocations: 37.08 kB / 1.097 GB, free: 224 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=37): time 2.043e-06/1.024, allocations: 0.7812 kB / 1.097 GB, free: 224 kB / 0.8575 GB Notification: Performance of matching and sorting (n=37): time 0.001936/1.026, allocations: 0.6495 MB / 1.097 GB, free: 84 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/1.026, allocations: 59.97 kB / 1.097 GB, free: 16 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/1.027, allocations: 127.2 kB / 1.098 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/1.027, allocations: 35.55 kB / 1.098 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 6.947e-05/1.027, allocations: 88.3 kB / 1.098 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001654/1.027, allocations: 124.4 kB / 1.098 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/1.027, allocations: 70.64 kB / 1.098 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001884/1.027, allocations: 328.8 kB / 1.098 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005496/1.028, allocations: 189.6 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005289/1.028, allocations: 205.3 kB / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009785/1.029, allocations: 357.9 kB / 1.099 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.029, allocations: 0 / 1.099 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00114/1.03, allocations: 471.4 kB / 1.099 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/1.03, allocations: 5.219 kB / 1.099 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/1.031, allocations: 1.75 kB / 1.099 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/1.031, allocations: 1.125 kB / 1.099 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003727/1.031, allocations: 94.14 kB / 1.099 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/1.031, allocations: 5.5 kB / 1.099 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/1.031, allocations: 52.23 kB / 1.1 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/1.031, allocations: 20 kB / 1.1 GB, free: 15.05 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.0001543/1.031, allocations: 142.2 kB / 1.1 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.063e-05/1.031, allocations: 25.03 kB / 1.1 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001614/1.033, allocations: 0.5086 MB / 1.1 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/1.033, allocations: 3.969 kB / 1.1 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.033, allocations: 4.5 kB / 1.1 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/1.033, allocations: 2.469 kB / 1.1 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005982/1.034, allocations: 317.9 kB / 1.101 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/1.034, allocations: 4.547 kB / 1.101 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004276/1.034, allocations: 97.7 kB / 1.101 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/1.034, allocations: 2.031 kB / 1.101 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.775e-05/1.034, allocations: 11.17 kB / 1.101 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/1.034, allocations: 1.156 kB / 1.101 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.034, allocations: 1.75 kB / 1.101 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/1.036, allocations: 0.5004 MB / 1.101 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-05/1.036, allocations: 104 kB / 1.101 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.84e-05/1.036, allocations: 6.094 kB / 1.101 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/1.036, allocations: 34.75 kB / 1.101 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003557/1.036, allocations: 116.9 kB / 1.101 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.924e-05/1.036, allocations: 14.47 kB / 1.101 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.112e-05/1.036, allocations: 101.4 kB / 1.101 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.036, allocations: 0 / 1.101 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006343/1.037, allocations: 119.8 kB / 1.102 GB, free: 14.11 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.0004648/1.038, allocations: 184.8 kB / 1.102 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001315/1.039, allocations: 468.2 kB / 1.102 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.039, allocations: 4 kB / 1.102 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006714/1.04, allocations: 261.5 kB / 1.102 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/1.04, allocations: 73.73 kB / 1.103 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000908/1.041, allocations: 431.4 kB / 1.103 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/1.041, allocations: 0.7353 MB / 1.104 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004789/1.042, allocations: 185 kB / 1.104 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/1.042, allocations: 38.23 kB / 1.104 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of SimCode: time 4.11e-07/1.042, allocations: 3.938 kB / 1.104 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of Templates: time 0.01122/1.053, allocations: 5.319 MB / 1.109 GB, free: 12.47 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches