Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008564/0.0008564, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001171/0.002028, allocations: 435.8 kB / 10.33 MB, free: 368 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.001103/0.001103, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001411/0.002514, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9812/0.9812, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09235/1.074, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.357/2.357, allocations: 446.7 MB / 0.6745 GB, free: 6.199 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2655/2.622, allocations: 145.9 MB / 0.817 GB, free: 4.195 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.WaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.8183 GB, free: 2.852 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.187e-05, allocations: 6.25 kB / 0.8183 GB, free: 2.844 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006305/0.006327, allocations: 4.927 MB / 0.8231 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002851/0.009178, allocations: 2.858 MB / 0.8259 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.283e-05/0.00926, allocations: 0 / 0.8259 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0002073/0.009468, allocations: 47.69 kB / 0.826 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.009693, allocations: 107.2 kB / 0.8261 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.01076, allocations: 0.5482 MB / 0.8266 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.01102, allocations: 251.8 kB / 0.8269 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 5.489e-05/0.01108, allocations: 10.47 kB / 0.8269 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002631/0.01134, allocations: 171.5 kB / 0.827 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.01148, allocations: 75.78 kB / 0.8271 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.0115, allocations: 8 kB / 0.8271 GB, free: 9.812 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005803/0.01208, allocations: 339.1 kB / 0.8274 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.275e-05/0.01215, allocations: 31.88 kB / 0.8275 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.808e-05/0.01222, allocations: 47.94 kB / 0.8275 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005016/0.01272, allocations: 322.9 kB / 0.8278 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.589e-05/0.01274, allocations: 4 kB / 0.8278 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.12e-07/0.01274, allocations: 0 / 0.8278 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.724e-05/0.01276, allocations: 0 / 0.8278 GB, free: 9.082 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008867/0.01365, allocations: 0.5477 MB / 0.8284 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.01369, allocations: 8.625 kB / 0.8284 GB, free: 8.48 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.01388, allocations: 52.72 kB / 0.8284 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.01414, allocations: 157.5 kB / 0.8286 GB, free: 8.25 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.01416, allocations: 8.703 kB / 0.8286 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/0.01419, allocations: 24.38 kB / 0.8286 GB, free: 8.219 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003805/0.01457, allocations: 414.7 kB / 0.829 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.01459, allocations: 4.172 kB / 0.829 GB, free: 7.734 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.01461, allocations: 12.12 kB / 0.829 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.152e-05/0.01465, allocations: 8 kB / 0.829 GB, free: 7.715 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002981/0.01495, allocations: 243.7 kB / 0.8292 GB, free: 7.477 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008888/0.01584, allocations: 0.6817 MB / 0.8299 GB, free: 6.762 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.01608, allocations: 164.8 kB / 0.8301 GB, free: 6.586 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.568e-05/0.01613, allocations: 40.84 kB / 0.8301 GB, free: 6.543 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005933/0.01672, allocations: 466 kB / 0.8306 GB, free: 6.074 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.01675, allocations: 38.48 kB / 0.8306 GB, free: 6.027 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.01676, allocations: 0 / 0.8306 GB, free: 6.027 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15): time 0.000201/0.01696, allocations: 133.6 kB / 0.8307 GB, free: 5.891 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.017, allocations: 55.41 kB / 0.8308 GB, free: 5.824 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.01711, allocations: 169.3 kB / 0.8309 GB, free: 5.648 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.01713, allocations: 25.7 kB / 0.831 GB, free: 5.617 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.074e-05/0.01721, allocations: 144.1 kB / 0.8311 GB, free: 5.473 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.137e-05/0.01726, allocations: 63.52 kB / 0.8312 GB, free: 5.41 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.4e-05/0.01732, allocations: 49.64 kB / 0.8312 GB, free: 5.355 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.918e-05/0.01742, allocations: 330.7 kB / 0.8315 GB, free: 5.023 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.38e-05/0.01745, allocations: 22.81 kB / 0.8315 GB, free: 5 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.842e-05/0.01755, allocations: 129.7 kB / 0.8317 GB, free: 4.824 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.01772, allocations: 185.4 kB / 0.8318 GB, free: 4.594 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.01772, allocations: 0 / 0.8318 GB, free: 4.594 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002107/0.01793, allocations: 160.1 kB / 0.832 GB, free: 4.43 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.01795, allocations: 10.66 kB / 0.832 GB, free: 4.422 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.01796, allocations: 4 kB / 0.832 GB, free: 4.418 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.01797, allocations: 4 kB / 0.832 GB, free: 4.414 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.01818, allocations: 72.31 kB / 0.8321 GB, free: 4.344 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.01819, allocations: 8 kB / 0.8321 GB, free: 4.336 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.918e-05/0.01828, allocations: 31.77 kB / 0.8321 GB, free: 4.305 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.0183, allocations: 16 kB / 0.8321 GB, free: 4.289 MB / 0.8073 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 8.434e-05/0.01838, allocations: 128.5 kB / 0.8323 GB, free: 4.152 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/0.01842, allocations: 15.98 kB / 0.8323 GB, free: 4.137 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002051/0.01863, allocations: 112.7 kB / 0.8324 GB, free: 4.02 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.01864, allocations: 0 / 0.8324 GB, free: 4.02 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.01864, allocations: 0 / 0.8324 GB, free: 4.02 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.01864, allocations: 4 kB / 0.8324 GB, free: 4.016 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.01882, allocations: 113.7 kB / 0.8325 GB, free: 3.887 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.01883, allocations: 7.875 kB / 0.8325 GB, free: 3.879 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.01895, allocations: 31.98 kB / 0.8325 GB, free: 3.848 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.014e-05/0.019, allocations: 23.92 kB / 0.8326 GB, free: 3.824 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.019, allocations: 0 / 0.8326 GB, free: 3.824 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.01901, allocations: 8 kB / 0.8326 GB, free: 3.816 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.01901, allocations: 0 / 0.8326 GB, free: 3.816 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01901, allocations: 0 / 0.8326 GB, free: 3.816 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.01921, allocations: 234 kB / 0.8328 GB, free: 3.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.01923, allocations: 0 / 0.8328 GB, free: 3.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.01935, allocations: 19.98 kB / 0.8328 GB, free: 3.551 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.331e-05/0.01937, allocations: 7.984 kB / 0.8328 GB, free: 3.543 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.01939, allocations: 15.97 kB / 0.8328 GB, free: 3.527 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.408e-05/0.01943, allocations: 30.45 kB / 0.8329 GB, free: 3.496 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01943, allocations: 0 / 0.8329 GB, free: 3.496 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004052/0.01983, allocations: 87.81 kB / 0.8329 GB, free: 3.41 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 (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.0003657/0.0202, allocations: 160.2 kB / 0.8331 GB, free: 3.246 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001937/0.02039, allocations: 104.3 kB / 0.8332 GB, free: 3.145 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.778e-05/0.02041, allocations: 8 kB / 0.8332 GB, free: 3.137 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.623e-05/0.02046, allocations: 40.77 kB / 0.8332 GB, free: 3.094 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.02077, allocations: 59.84 kB / 0.8333 GB, free: 3.035 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004509/0.02528, allocations: 343.1 kB / 0.8336 GB, free: 2.672 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.078e-05/0.02534, allocations: 72 kB / 0.8337 GB, free: 2.578 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001483/0.02549, allocations: 41.41 kB / 0.8337 GB, free: 2.539 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.02572, allocations: 121.3 kB / 0.8338 GB, free: 2.418 MB / 0.8073 GB Notification: Performance of SimCode: time 1.163e-06/0.02572, allocations: 0 / 0.8338 GB, free: 2.418 MB / 0.8073 GB Notification: Performance of Templates: time 0.007216/0.03293, allocations: 3.574 MB / 0.8373 GB, free: 14.89 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterProperties.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_latest_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Media.Examples.WaterProperties/Buildings_latest_Buildings.Media.Examples.WaterProperties.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.190963281318545]