Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001699/0.001699, allocations: 103.4 kB / 16.27 MB, free: 5.969 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.001855/0.001855, allocations: 189.3 kB / 17.2 MB, free: 5.594 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.401/1.401, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.683/2.683, allocations: 469.8 MB / 0.743 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 65.23 kB / 0.9092 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2984, allocations: 159.2 MB / 1.065 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002577/0.301, allocations: 1.371 MB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003686/0.3047, allocations: 2.913 MB / 1.069 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.153e-05/0.3047, allocations: 0 / 1.069 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 7.597e-05/0.3048, allocations: 7.922 kB / 1.069 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.305, allocations: 35.81 kB / 1.069 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005497/0.3055, allocations: 187.1 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002718/0.3058, allocations: 247.5 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.257e-05/0.3058, allocations: 4 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.306, allocations: 103.8 kB / 1.069 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.3061, allocations: 119.8 kB / 1.069 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.635e-05/0.3062, allocations: 12 kB / 1.069 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000374/0.3065, allocations: 135.9 kB / 1.07 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.3067, allocations: 83.81 kB / 1.07 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.3068, allocations: 95.58 kB / 1.07 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003759/0.3072, allocations: 271.5 kB / 1.07 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3072, allocations: 8 kB / 1.07 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.945e-06/0.3072, allocations: 0 / 1.07 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.3072, allocations: 3.938 kB / 1.07 GB, free: 9.184 MB / 0.8419 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.0008969/0.3081, allocations: 0.5222 MB / 1.071 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.3081, allocations: 12.03 kB / 1.071 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.3083, allocations: 24.73 kB / 1.071 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.3085, allocations: 232 kB / 1.071 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.674e-05/0.3086, allocations: 24.36 kB / 1.071 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.3086, allocations: 20.38 kB / 1.071 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006951/0.3093, allocations: 289.2 kB / 1.071 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3094, allocations: 4 kB / 1.071 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.3094, allocations: 4 kB / 1.071 GB, free: 7.973 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.3094, allocations: 4 kB / 1.071 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.311, allocations: 0.7452 MB / 1.072 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003938/0.3114, allocations: 309.1 kB / 1.072 GB, free: 6.871 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00176/0.3131, allocations: 0.6953 MB / 1.073 GB, free: 6.164 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005315/0.3137, allocations: 228.7 kB / 1.073 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004401/0.3141, allocations: 380.4 kB / 1.073 GB, free: 5.492 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/0.3142, allocations: 50.44 kB / 1.073 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=37): time 1.583e-06/0.3142, allocations: 0 / 1.073 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37): time 0.001687/0.3159, allocations: 0.652 MB / 1.074 GB, free: 4.777 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.3159, allocations: 55.41 kB / 1.074 GB, free: 4.711 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.316, allocations: 126 kB / 1.074 GB, free: 4.578 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.3161, allocations: 33.7 kB / 1.074 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.444e-05/0.3161, allocations: 96.78 kB / 1.074 GB, free: 4.438 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.3163, allocations: 130 kB / 1.075 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.3164, allocations: 69.67 kB / 1.075 GB, free: 4.234 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3165, allocations: 326.8 kB / 1.075 GB, free: 3.906 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005275/0.3171, allocations: 195.8 kB / 1.075 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005032/0.3176, allocations: 195.5 kB / 1.075 GB, free: 3.523 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009315/0.3185, allocations: 361.2 kB / 1.076 GB, free: 3.168 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3185, allocations: 4 kB / 1.076 GB, free: 3.164 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001183/0.3197, allocations: 460.6 kB / 1.076 GB, free: 2.707 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.3197, allocations: 11.98 kB / 1.076 GB, free: 2.695 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.3198, allocations: 0 / 1.076 GB, free: 2.695 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.3198, allocations: 3.938 kB / 1.076 GB, free: 2.691 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003834/0.3202, allocations: 91.92 kB / 1.076 GB, free: 2.602 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.3202, allocations: 4 kB / 1.076 GB, free: 2.598 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.3204, allocations: 47.73 kB / 1.076 GB, free: 2.551 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.3204, allocations: 15.98 kB / 1.076 GB, free: 2.535 MB / 0.8419 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.0001518/0.3206, allocations: 137.8 kB / 1.076 GB, free: 2.391 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-05/0.3207, allocations: 23.75 kB / 1.076 GB, free: 2.367 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.3219, allocations: 0.5105 MB / 1.077 GB, free: 1.852 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.322, allocations: 8 kB / 1.077 GB, free: 1.844 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.322, allocations: 0 / 1.077 GB, free: 1.844 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.322, allocations: 3.984 kB / 1.077 GB, free: 1.84 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003691/0.3224, allocations: 321.2 kB / 1.077 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3224, allocations: 0 / 1.077 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003373/0.3227, allocations: 99.78 kB / 1.077 GB, free: 1.379 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.3227, allocations: 8 kB / 1.077 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.3228, allocations: 4 kB / 1.077 GB, free: 1.367 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.3228, allocations: 4 kB / 1.077 GB, free: 1.363 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.3228, allocations: 0 / 1.077 GB, free: 1.363 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.3239, allocations: 0.4961 MB / 1.078 GB, free: 0.8477 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.947e-05/0.324, allocations: 104.7 kB / 1.078 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.743e-05/0.324, allocations: 7.984 kB / 1.078 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.3242, allocations: 39.91 kB / 1.078 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000238/0.3244, allocations: 119.8 kB / 1.078 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/0.3245, allocations: 12 kB / 1.078 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.232e-05/0.3246, allocations: 102.2 kB / 1.078 GB, free: 464 kB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3246, allocations: 0 / 1.078 GB, free: 464 kB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003973/0.325, allocations: 115.9 kB / 1.078 GB, free: 348 kB / 0.8419 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.0003913/0.3254, allocations: 187.1 kB / 1.078 GB, free: 152 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.4718/0.7972, allocations: 0.5495 MB / 1.079 GB, free: 23.25 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.7972, allocations: 2.844 kB / 1.079 GB, free: 23.25 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007308/0.798, allocations: 261.3 kB / 1.079 GB, free: 23.25 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005555/0.7985, allocations: 72.81 kB / 1.079 GB, free: 23.25 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.7996, allocations: 462.3 kB / 1.08 GB, free: 23.06 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.7998, allocations: 0.7298 MB / 1.08 GB, free: 22.36 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.8, allocations: 51.42 kB / 1.081 GB, free: 22.36 MB / 0.8419 GB Notification: Performance of SimCode: time 1.242e-06/0.8, allocations: 0 / 1.081 GB, free: 22.36 MB / 0.8419 GB Notification: Performance of Templates: time 0.008733/0.8087, allocations: 4.736 MB / 1.085 GB, free: 21.96 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches