Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.001175/0.001175, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001685/0.002859, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001099/0.001099, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001327/0.002426, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9382/0.9382, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1016/1.04, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.655/2.655, allocations: 447.1 MB / 0.675 GB, free: 5.93 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3036/2.959, allocations: 146 MB / 0.8176 GB, free: 3.84 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.8189 GB, free: 2.543 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.257e-05, allocations: 5.125 kB / 0.8189 GB, free: 2.539 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004573/0.004596, allocations: 4.236 MB / 0.823 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00016/0.004755, allocations: 163.4 kB / 0.8232 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.165e-05/0.004777, allocations: 0 / 0.8232 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 6.898e-05/0.004846, allocations: 3.938 kB / 0.8232 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.221e-05/0.004918, allocations: 15.91 kB / 0.8232 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.005174, allocations: 87.62 kB / 0.8233 GB, free: 14 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.747e-05/0.005271, allocations: 35.84 kB / 0.8233 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.957e-05/0.005321, allocations: 4 kB / 0.8233 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.643e-05/0.005397, allocations: 19.98 kB / 0.8234 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.476e-05/0.005482, allocations: 15.91 kB / 0.8234 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.005497, allocations: 4 kB / 0.8234 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.005671, allocations: 47.83 kB / 0.8234 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.075e-05/0.005722, allocations: 11.94 kB / 0.8234 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.629e-05/0.005738, allocations: 11.98 kB / 0.8234 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.00588, allocations: 55.83 kB / 0.8235 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.656e-05/0.005896, allocations: 0 / 0.8235 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.72e-07/0.005897, allocations: 0 / 0.8235 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.642e-05/0.005914, allocations: 0 / 0.8235 GB, free: 13.8 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004099/0.006323, allocations: 240.6 kB / 0.8237 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.006366, allocations: 8.031 kB / 0.8237 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.362e-05/0.006409, allocations: 4.938 kB / 0.8237 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.006522, allocations: 109.8 kB / 0.8238 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.737e-05/0.006589, allocations: 51.97 kB / 0.8239 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.006606, allocations: 4.375 kB / 0.8239 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.006762, allocations: 91.41 kB / 0.824 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.006771, allocations: 192 / 0.824 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.006782, allocations: 7.938 kB / 0.824 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.064e-05/0.006813, allocations: 3.938 kB / 0.824 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.494e-05/0.006838, allocations: 4 kB / 0.824 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.007199, allocations: 166 kB / 0.8242 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.088e-05/0.00724, allocations: 18.58 kB / 0.8242 GB, free: 13 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.242e-05/0.007252, allocations: 4.859 kB / 0.8242 GB, free: 13 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.565e-05/0.007288, allocations: 4.062 kB / 0.8242 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.007319, allocations: 46.44 kB / 0.8242 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.00732, allocations: 0 / 0.8242 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 0.000122/0.007442, allocations: 37.69 kB / 0.8243 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.007471, allocations: 51.41 kB / 0.8243 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.367e-05/0.007544, allocations: 110.6 kB / 0.8244 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.007559, allocations: 29.7 kB / 0.8245 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.839e-05/0.007607, allocations: 84.09 kB / 0.8245 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.16e-06/0.007612, allocations: 0 / 0.8245 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/0.007637, allocations: 17.7 kB / 0.8245 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002683/0.007905, allocations: 315 kB / 0.8248 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.778e-06/0.007915, allocations: 7.984 kB / 0.8249 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.667e-05/0.007932, allocations: 17.66 kB / 0.8249 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.879e-05/0.00796, allocations: 24.55 kB / 0.8249 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.007963, allocations: 0 / 0.8249 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.044e-05/0.008014, allocations: 41.62 kB / 0.8249 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.008029, allocations: 7.938 kB / 0.8249 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.008036, allocations: 7.984 kB / 0.825 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.008048, allocations: 0 / 0.825 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.171e-05/0.00809, allocations: 12.05 kB / 0.825 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.008093, allocations: 0 / 0.825 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.428e-05/0.008108, allocations: 7.953 kB / 0.825 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.008116, allocations: 0 / 0.825 GB, free: 12.11 MB / 0.8073 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 (3): * Single equations (assignments): 3 * 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 5.52e-05/0.008171, allocations: 112.7 kB / 0.8251 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/0.008185, allocations: 4.219 kB / 0.8251 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.679e-05/0.008282, allocations: 128.9 kB / 0.8252 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.364e-05/0.008325, allocations: 180.2 kB / 0.8254 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.115e-05/0.008366, allocations: 180.3 kB / 0.8255 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.295e-05/0.008409, allocations: 192.1 kB / 0.8257 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.008532, allocations: 317.4 kB / 0.826 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-05/0.008559, allocations: 104.9 kB / 0.8261 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.536e-05/0.008585, allocations: 105.1 kB / 0.8262 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.029e-05/0.008615, allocations: 113 kB / 0.8263 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.11e-05/0.008656, allocations: 180.2 kB / 0.8265 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-05/0.0087, allocations: 184.2 kB / 0.8267 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-05/0.008743, allocations: 180.2 kB / 0.8269 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.981e-05/0.008793, allocations: 176.3 kB / 0.827 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.877e-05/0.008892, allocations: 307.8 kB / 0.8273 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.88e-05/0.008941, allocations: 180.3 kB / 0.8275 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.38e-05/0.009035, allocations: 120.9 kB / 0.8276 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.009082, allocations: 184.2 kB / 0.8278 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.009106, allocations: 108.9 kB / 0.8279 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.764e-05/0.009123, allocations: 8.859 kB / 0.8279 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.009123, allocations: 0 / 0.8279 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001384/0.009262, allocations: 15.94 kB / 0.8279 GB, free: 8.914 MB / 0.8073 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 (0): * Single equations (assignments): 0 * 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.0001484/0.00941, allocations: 167.6 kB / 0.8281 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.964e-05/0.00947, allocations: 20.84 kB / 0.8281 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.009474, allocations: 192 / 0.8281 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.564e-06/0.009477, allocations: 4 kB / 0.8281 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.009754, allocations: 0.5147 MB / 0.8286 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007052/0.01046, allocations: 202.5 kB / 0.8288 GB, free: 7.953 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.403e-05/0.01049, allocations: 55.36 kB / 0.8288 GB, free: 7.879 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.038e-05/0.01052, allocations: 7.984 kB / 0.8289 GB, free: 7.871 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.241e-05/0.01059, allocations: 63.36 kB / 0.8289 GB, free: 7.809 MB / 0.8073 GB Notification: Performance of SimCode: time 6.52e-07/0.01059, allocations: 0 / 0.8289 GB, free: 7.809 MB / 0.8073 GB Notification: Performance of Templates: time 0.002385/0.01297, allocations: 0.7537 MB / 0.8297 GB, free: 7.062 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.535204090178013]