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.001233/0.001234, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001155/0.001155, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.14 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.253/2.253, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.88 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7975/0.7988, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002427/0.8013, allocations: 1.387 MB / 1.09 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003183/0.8045, allocations: 2.899 MB / 1.093 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.733e-05/0.8046, allocations: 0 / 1.093 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.51e-05/0.8047, allocations: 15.94 kB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.8048, allocations: 42.59 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005709/0.8054, allocations: 186.8 kB / 1.093 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003043/0.8057, allocations: 235.8 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.546e-05/0.8058, allocations: 7.656 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.8059, allocations: 92.75 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.806, allocations: 126.4 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.713e-05/0.8061, allocations: 10.66 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004279/0.8065, allocations: 134.7 kB / 1.094 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.8066, allocations: 88.25 kB / 1.094 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.8068, allocations: 92.73 kB / 1.094 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004241/0.8072, allocations: 277.9 kB / 1.094 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.8072, allocations: 0 / 1.094 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8072, allocations: 0.75 kB / 1.094 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.8072, allocations: 0.5625 kB / 1.094 GB, free: 1.965 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.0008137/0.808, allocations: 0.5272 MB / 1.095 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.8081, allocations: 9.281 kB / 1.095 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.8082, allocations: 19.52 kB / 1.095 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.8084, allocations: 236.2 kB / 1.095 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.339e-05/0.8085, allocations: 32.53 kB / 1.095 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/0.8085, allocations: 13.47 kB / 1.095 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006913/0.8092, allocations: 304.5 kB / 1.095 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.8093, allocations: 0 / 1.095 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.8093, allocations: 6.188 kB / 1.095 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.8093, allocations: 6.906 kB / 1.095 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/0.811, allocations: 0.7461 MB / 1.096 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003571/0.8113, allocations: 306.9 kB / 1.096 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/0.8131, allocations: 0.6706 MB / 1.097 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005336/0.8136, allocations: 235.4 kB / 1.097 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003618/0.814, allocations: 391.5 kB / 1.097 GB, free: 276 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.814, allocations: 38.03 kB / 1.097 GB, free: 232 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=37): time 1.764e-06/0.814, allocations: 0 / 1.097 GB, free: 232 kB / 0.8575 GB Notification: Performance of matching and sorting (n=37): time 0.001716/0.8158, allocations: 0.6458 MB / 1.098 GB, free: 96 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.8158, allocations: 63.06 kB / 1.098 GB, free: 24 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.8159, allocations: 128.9 kB / 1.098 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.816, allocations: 34.52 kB / 1.098 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.348e-05/0.816, allocations: 88.47 kB / 1.098 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.8162, allocations: 124.4 kB / 1.099 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.8163, allocations: 66.5 kB / 1.099 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.8164, allocations: 333 kB / 1.099 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005155/0.8169, allocations: 194.5 kB / 1.099 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005145/0.8174, allocations: 203.8 kB / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009726/0.8184, allocations: 358.4 kB / 1.1 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.8184, allocations: 0 / 1.1 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001229/0.8197, allocations: 467.8 kB / 1.1 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.8197, allocations: 5.094 kB / 1.1 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.8197, allocations: 1.656 kB / 1.1 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.8197, allocations: 1 kB / 1.1 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003918/0.8201, allocations: 94.84 kB / 1.1 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.8202, allocations: 0.7188 kB / 1.1 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.8204, allocations: 60.34 kB / 1.1 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.8204, allocations: 12.22 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.0001482/0.8206, allocations: 142.7 kB / 1.1 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.983e-05/0.8206, allocations: 21.11 kB / 1.1 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001452/0.8221, allocations: 0.5158 MB / 1.101 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.8221, allocations: 4.766 kB / 1.101 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.8221, allocations: 0.5312 kB / 1.101 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.8221, allocations: 6 kB / 1.101 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003905/0.8225, allocations: 313.3 kB / 1.101 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.8225, allocations: 1.125 kB / 1.101 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003431/0.8229, allocations: 105.5 kB / 1.101 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.8229, allocations: 1.734 kB / 1.101 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/0.8229, allocations: 15.73 kB / 1.101 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.8229, allocations: 0.875 kB / 1.101 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.8229, allocations: 1.156 kB / 1.101 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.8241, allocations: 0.4937 MB / 1.102 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.252e-05/0.8242, allocations: 103 kB / 1.102 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.8242, allocations: 10.28 kB / 1.102 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.8244, allocations: 34.56 kB / 1.102 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002441/0.8246, allocations: 120.3 kB / 1.102 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.8247, allocations: 16.64 kB / 1.102 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 7.525e-05/0.8248, allocations: 100.7 kB / 1.102 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8248, allocations: 0 / 1.102 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004383/0.8252, allocations: 119.3 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.0003419/0.8256, allocations: 185.9 kB / 1.102 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001144/0.8267, allocations: 467.4 kB / 1.103 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8267, allocations: 0 / 1.103 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005849/0.8273, allocations: 268.6 kB / 1.103 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.0004243/0.8278, allocations: 77.06 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.0008047/0.8286, allocations: 455.8 kB / 1.104 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.8289, allocations: 0.7343 MB / 1.104 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.829, allocations: 49.44 kB / 1.104 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of SimCode: time 3.1e-07/0.829, allocations: 0 / 1.104 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of Templates: time 0.008952/0.838, allocations: 4.743 MB / 1.109 GB, free: 12.41 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches