Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.WaterProperties.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.001431/0.001431, allocations: 109.3 kB / 16.46 MB, free: 6.453 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.001463/0.001463, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.496/1.496, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.348/3.348, allocations: 0.4899 GB / 0.7915 GB, free: 33.19 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Examples.WaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterProperties") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 75.91 kB / 1.149 GB, free: 26.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4213/0.4234, allocations: 176.1 MB / 1.321 GB, free: 2.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.007207/0.4306, allocations: 4.814 MB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003359/0.4339, allocations: 2.71 MB / 1.329 GB, free: 11.29 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.784e-05/0.434, allocations: 0 / 1.329 GB, free: 11.29 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003264/0.4344, allocations: 51.67 kB / 1.329 GB, free: 11.23 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002998/0.4347, allocations: 95.36 kB / 1.329 GB, free: 11.14 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.436, allocations: 0.5278 MB / 1.329 GB, free: 10.61 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003368/0.4364, allocations: 235.9 kB / 1.329 GB, free: 10.38 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.933e-05/0.4364, allocations: 13.55 kB / 1.33 GB, free: 10.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.4366, allocations: 115.5 kB / 1.33 GB, free: 10.25 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.4368, allocations: 91.66 kB / 1.33 GB, free: 10.16 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.4368, allocations: 8 kB / 1.33 GB, free: 10.15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007892/0.4376, allocations: 391.3 kB / 1.33 GB, free: 9.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.893e-05/0.4377, allocations: 35.89 kB / 1.33 GB, free: 9.734 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.4378, allocations: 87.64 kB / 1.33 GB, free: 9.648 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006394/0.4385, allocations: 366.8 kB / 1.331 GB, free: 9.289 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.4385, allocations: 0 / 1.331 GB, free: 9.289 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4385, allocations: 0 / 1.331 GB, free: 9.289 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.4385, allocations: 0 / 1.331 GB, free: 9.289 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001017/0.4395, allocations: 0.5064 MB / 1.331 GB, free: 8.73 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.4396, allocations: 15.98 kB / 1.331 GB, free: 8.715 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.4397, allocations: 24.84 kB / 1.331 GB, free: 8.691 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.44, allocations: 212.1 kB / 1.331 GB, free: 8.445 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.193e-05/0.4401, allocations: 24.67 kB / 1.331 GB, free: 8.422 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.4401, allocations: 12.38 kB / 1.331 GB, free: 8.41 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004454/0.4406, allocations: 256 kB / 1.332 GB, free: 8.141 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.4406, allocations: 0 / 1.332 GB, free: 8.141 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.4406, allocations: 12 kB / 1.332 GB, free: 8.129 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.878e-05/0.4406, allocations: 4 kB / 1.332 GB, free: 8.125 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005998/0.4412, allocations: 423.5 kB / 1.332 GB, free: 7.711 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.4425, allocations: 0.9606 MB / 1.333 GB, free: 6.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/0.4429, allocations: 144.9 kB / 1.333 GB, free: 6.512 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.443, allocations: 56.88 kB / 1.333 GB, free: 6.453 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001789/0.4447, allocations: 1.825 MB / 1.335 GB, free: 4.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.4448, allocations: 38.56 kB / 1.335 GB, free: 4.223 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.4448, allocations: 0 / 1.335 GB, free: 4.223 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.000386/0.4452, allocations: 145.4 kB / 1.335 GB, free: 4.074 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.4452, allocations: 59.34 kB / 1.335 GB, free: 4.004 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.4454, allocations: 168 kB / 1.335 GB, free: 3.828 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.4454, allocations: 33.7 kB / 1.335 GB, free: 3.789 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.4455, allocations: 144.1 kB / 1.335 GB, free: 3.645 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.957e-05/0.4456, allocations: 59.45 kB / 1.336 GB, free: 3.586 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.344e-05/0.4457, allocations: 53.66 kB / 1.336 GB, free: 3.527 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.4458, allocations: 330.8 kB / 1.336 GB, free: 3.195 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.509e-05/0.4459, allocations: 35.97 kB / 1.336 GB, free: 3.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.4461, allocations: 141.7 kB / 1.336 GB, free: 2.973 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/0.4464, allocations: 203.7 kB / 1.336 GB, free: 2.727 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.4464, allocations: 0 / 1.336 GB, free: 2.727 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003556/0.4467, allocations: 213.5 kB / 1.336 GB, free: 2.512 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.4467, allocations: 4 kB / 1.336 GB, free: 2.508 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.4468, allocations: 4 kB / 1.336 GB, free: 2.504 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.4468, allocations: 8 kB / 1.336 GB, free: 2.496 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.447, allocations: 63.78 kB / 1.337 GB, free: 2.434 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.447, allocations: 4 kB / 1.337 GB, free: 2.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.4471, allocations: 27.78 kB / 1.337 GB, free: 2.402 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.4471, allocations: 12 kB / 1.337 GB, free: 2.391 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.000133/0.4473, allocations: 137.9 kB / 1.337 GB, free: 2.246 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.384e-05/0.4473, allocations: 15.91 kB / 1.337 GB, free: 2.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003273/0.4476, allocations: 159 kB / 1.337 GB, free: 2.066 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.4476, allocations: 3.938 kB / 1.337 GB, free: 2.062 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4476, allocations: 3.938 kB / 1.337 GB, free: 2.059 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4477, allocations: 0 / 1.337 GB, free: 2.059 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.4479, allocations: 221.5 kB / 1.337 GB, free: 1.793 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.4479, allocations: 0 / 1.337 GB, free: 1.793 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.91e-05/0.448, allocations: 19.98 kB / 1.337 GB, free: 1.773 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.448, allocations: 4 kB / 1.337 GB, free: 1.77 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.448, allocations: 8 kB / 1.337 GB, free: 1.762 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.448, allocations: 3.938 kB / 1.337 GB, free: 1.758 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.448, allocations: 0 / 1.337 GB, free: 1.758 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.4483, allocations: 225.6 kB / 1.337 GB, free: 1.523 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.4484, allocations: 109 kB / 1.337 GB, free: 1.398 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.4485, allocations: 0 / 1.337 GB, free: 1.398 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.4487, allocations: 23.92 kB / 1.337 GB, free: 1.375 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.766e-05/0.4487, allocations: 12 kB / 1.337 GB, free: 1.363 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.88e-05/0.4487, allocations: 11.98 kB / 1.337 GB, free: 1.352 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001785/0.4489, allocations: 120 kB / 1.338 GB, free: 1.234 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4489, allocations: 0 / 1.338 GB, free: 1.234 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003919/0.4493, allocations: 83.8 kB / 1.338 GB, free: 1.152 MB / 1.029 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003364/0.4496, allocations: 179 kB / 1.338 GB, free: 0.9688 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000254/0.4499, allocations: 115.8 kB / 1.338 GB, free: 0.8555 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4499, allocations: 0 / 1.338 GB, free: 0.8555 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.959e-05/0.45, allocations: 35.92 kB / 1.338 GB, free: 0.8203 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.4504, allocations: 66.31 kB / 1.338 GB, free: 0.7578 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007626/0.4512, allocations: 349.2 kB / 1.338 GB, free: 404 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.4516, allocations: 0.7128 MB / 1.339 GB, free: 15.66 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001485/0.4517, allocations: 45.8 kB / 1.339 GB, free: 15.61 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.909e-05/0.4518, allocations: 23.44 kB / 1.339 GB, free: 15.59 MB / 1.045 GB Notification: Performance of SimCode: time 6.01e-07/0.4518, allocations: 7.938 kB / 1.339 GB, free: 15.58 MB / 1.045 GB Notification: Performance of Templates: time 0.007984/0.4598, allocations: 3.495 MB / 1.343 GB, free: 12.13 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_12_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.WaterProperties.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: 9.51459423173219]