Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00215/0.00215, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002777/0.002777, allocations: 211.4 kB / 22.25 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.458/1.458, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.126/3.126, allocations: 0.5035 GB / 0.8086 GB, free: 23.55 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_a_phi|d|eta|Tf|cp|lambda|Pr",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_a_phi|d|eta|Tf|cp|lambda|Pr",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 67.75 kB / 1.175 GB, free: 17.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3337, allocations: 180 MB / 1.351 GB, free: 9.969 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater): time 0.002309/0.336, allocations: 1.333 MB / 1.353 GB, free: 8.621 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001841/0.3379, allocations: 1.223 MB / 1.354 GB, free: 7.391 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.366e-05/0.3379, allocations: 0 / 1.354 GB, free: 7.391 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.024e-05/0.3379, allocations: 3.938 kB / 1.354 GB, free: 7.387 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.053e-05/0.338, allocations: 7.922 kB / 1.354 GB, free: 7.379 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005032/0.3385, allocations: 159.4 kB / 1.354 GB, free: 7.223 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.104e-05/0.3386, allocations: 51.72 kB / 1.354 GB, free: 7.172 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.709e-05/0.3386, allocations: 0 / 1.354 GB, free: 7.172 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.012e-05/0.3387, allocations: 19.98 kB / 1.354 GB, free: 7.152 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.169e-05/0.3387, allocations: 15.86 kB / 1.354 GB, free: 7.137 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.3387, allocations: 4 kB / 1.354 GB, free: 7.133 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003698/0.3391, allocations: 143.8 kB / 1.354 GB, free: 6.992 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.691e-05/0.3391, allocations: 4 kB / 1.354 GB, free: 6.988 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.122e-05/0.3391, allocations: 23.88 kB / 1.354 GB, free: 6.965 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.3394, allocations: 127.6 kB / 1.354 GB, free: 6.84 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3394, allocations: 4 kB / 1.354 GB, free: 6.836 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3394, allocations: 0 / 1.354 GB, free: 6.836 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.3394, allocations: 0 / 1.354 GB, free: 6.836 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003811/0.3397, allocations: 290 kB / 1.355 GB, free: 6.523 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.3398, allocations: 8.031 kB / 1.355 GB, free: 6.516 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.3398, allocations: 8.891 kB / 1.355 GB, free: 6.508 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.3399, allocations: 106.5 kB / 1.355 GB, free: 6.379 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.3399, allocations: 12.38 kB / 1.355 GB, free: 6.367 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-06/0.34, allocations: 384 / 1.355 GB, free: 6.367 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.3401, allocations: 79.58 kB / 1.355 GB, free: 6.277 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.3401, allocations: 0 / 1.355 GB, free: 6.277 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.3401, allocations: 0 / 1.355 GB, free: 6.277 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3401, allocations: 0 / 1.355 GB, free: 6.277 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.248e-05/0.3402, allocations: 55.92 kB / 1.355 GB, free: 6.223 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.3404, allocations: 145.6 kB / 1.355 GB, free: 6.035 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.3405, allocations: 69.17 kB / 1.355 GB, free: 5.949 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.657e-05/0.3406, allocations: 29.7 kB / 1.355 GB, free: 5.914 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007498/0.3413, allocations: 252 kB / 1.355 GB, free: 5.668 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.3413, allocations: 38.5 kB / 1.355 GB, free: 5.621 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.3413, allocations: 0 / 1.355 GB, free: 5.621 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0002075/0.3415, allocations: 85.61 kB / 1.355 GB, free: 5.531 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.3416, allocations: 81.11 kB / 1.355 GB, free: 5.434 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.591e-05/0.3417, allocations: 105.8 kB / 1.356 GB, free: 5.32 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.3417, allocations: 29.83 kB / 1.356 GB, free: 5.285 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.45e-05/0.3417, allocations: 84.08 kB / 1.356 GB, free: 5.199 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.759e-05/0.3418, allocations: 31.73 kB / 1.356 GB, free: 5.168 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.3418, allocations: 25.67 kB / 1.356 GB, free: 5.137 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.342, allocations: 318.8 kB / 1.356 GB, free: 4.816 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.463e-05/0.342, allocations: 8 kB / 1.356 GB, free: 4.809 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.739e-05/0.342, allocations: 25.7 kB / 1.356 GB, free: 4.777 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.552e-05/0.3421, allocations: 49.7 kB / 1.356 GB, free: 4.723 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3421, allocations: 3.938 kB / 1.356 GB, free: 4.719 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001154/0.3422, allocations: 73.98 kB / 1.356 GB, free: 4.641 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.3422, allocations: 9.812 kB / 1.356 GB, free: 4.633 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3422, allocations: 80 / 1.356 GB, free: 4.633 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.3423, allocations: 0 / 1.356 GB, free: 4.633 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.244e-05/0.3423, allocations: 23.94 kB / 1.356 GB, free: 4.609 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.3423, allocations: 3.984 kB / 1.356 GB, free: 4.605 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.926e-05/0.3424, allocations: 0 / 1.356 GB, free: 4.605 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.3424, allocations: 12.2 kB / 1.356 GB, free: 4.594 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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 7.945e-05/0.3424, allocations: 109.8 kB / 1.356 GB, free: 4.477 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.677e-05/0.3425, allocations: 15.83 kB / 1.356 GB, free: 4.461 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.3427, allocations: 93.66 kB / 1.356 GB, free: 4.363 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.3427, allocations: 4 kB / 1.356 GB, free: 4.359 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3427, allocations: 0 / 1.356 GB, free: 4.359 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3427, allocations: 0 / 1.356 GB, free: 4.359 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.3428, allocations: 148.6 kB / 1.357 GB, free: 4.172 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3428, allocations: 4.031 kB / 1.357 GB, free: 4.168 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.992e-05/0.3429, allocations: 19.98 kB / 1.357 GB, free: 4.148 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.3429, allocations: 3.938 kB / 1.357 GB, free: 4.145 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.3429, allocations: 4 kB / 1.357 GB, free: 4.141 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3429, allocations: 0 / 1.357 GB, free: 4.141 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3429, allocations: 3.938 kB / 1.357 GB, free: 4.137 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.343, allocations: 105.9 kB / 1.357 GB, free: 4.012 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.272e-05/0.3431, allocations: 23.88 kB / 1.357 GB, free: 3.988 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.3431, allocations: 0 / 1.357 GB, free: 3.988 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.039e-05/0.3431, allocations: 7.938 kB / 1.357 GB, free: 3.98 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.722e-05/0.3431, allocations: 7.984 kB / 1.357 GB, free: 3.973 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.3431, allocations: 4 kB / 1.357 GB, free: 3.969 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.772e-05/0.3432, allocations: 75.28 kB / 1.357 GB, free: 3.895 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3432, allocations: 3.938 kB / 1.357 GB, free: 3.891 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002475/0.3434, allocations: 59.8 kB / 1.357 GB, free: 3.832 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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.0002795/0.3437, allocations: 175 kB / 1.357 GB, free: 3.652 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.3438, allocations: 35.92 kB / 1.357 GB, free: 3.617 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3438, allocations: 0 / 1.357 GB, free: 3.617 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.931e-05/0.3438, allocations: 27.92 kB / 1.357 GB, free: 3.59 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.3441, allocations: 16.12 kB / 1.357 GB, free: 3.574 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003482/0.3444, allocations: 190.3 kB / 1.357 GB, free: 3.359 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.3447, allocations: 0.6807 MB / 1.358 GB, free: 2.652 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.791e-05/0.3448, allocations: 11.78 kB / 1.358 GB, free: 2.641 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.053e-05/0.3448, allocations: 23.38 kB / 1.358 GB, free: 2.617 MB / 1.045 GB Notification: Performance of SimCode: time 2.81e-07/0.3448, allocations: 0 / 1.358 GB, free: 2.617 MB / 1.045 GB Notification: Performance of Templates: time 0.004267/0.3491, allocations: 1.566 MB / 1.36 GB, free: 1.059 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Functions_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.552830150350928]