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.001223/0.001223, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001745/0.002968, allocations: 449.7 kB / 10.37 MB, free: 328 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.001069/0.001069, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001397/0.002466, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9721/0.9721, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08176/1.054, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.781/1.781, allocations: 378.2 MB / 0.6076 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4643/2.245, allocations: 123.3 MB / 0.728 GB, free: 5.816 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[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_12_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_12_Buildings.Media.Examples.WaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.7294 GB, free: 4.496 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038e-05/1.168e-05, allocations: 6.312 kB / 0.7294 GB, free: 4.488 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004159/0.004171, allocations: 4.933 MB / 0.7342 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001998/0.006169, allocations: 2.847 MB / 0.737 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.268e-05/0.006242, allocations: 3.938 kB / 0.737 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001541/0.006396, allocations: 47.69 kB / 0.737 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.006562, allocations: 108.6 kB / 0.7371 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009497/0.007512, allocations: 0.5496 MB / 0.7377 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.00773, allocations: 248.9 kB / 0.7379 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.00777, allocations: 14.45 kB / 0.7379 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.007955, allocations: 164.8 kB / 0.7381 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.008061, allocations: 79.77 kB / 0.7381 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.00808, allocations: 8 kB / 0.7381 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005064/0.008587, allocations: 347.1 kB / 0.7385 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.736e-05/0.008644, allocations: 24.97 kB / 0.7385 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.918e-05/0.008703, allocations: 51.88 kB / 0.7385 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004019/0.009105, allocations: 323.5 kB / 0.7389 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.213e-05/0.009117, allocations: 0 / 0.7389 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.81e-07/0.009118, allocations: 1.656 kB / 0.7389 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.00913, allocations: 4 kB / 0.7389 GB, free: 10.8 MB / 0.7136 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.0006006/0.00973, allocations: 0.5398 MB / 0.7394 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.009762, allocations: 8.031 kB / 0.7394 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.009877, allocations: 53.61 kB / 0.7394 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.01002, allocations: 148.3 kB / 0.7396 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.01004, allocations: 12.7 kB / 0.7396 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.01006, allocations: 20.38 kB / 0.7396 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.01029, allocations: 410.7 kB / 0.74 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.0103, allocations: 192 / 0.74 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.01032, allocations: 16.12 kB / 0.74 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.579e-05/0.01034, allocations: 4 kB / 0.74 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.01053, allocations: 243.3 kB / 0.7403 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005768/0.01111, allocations: 0.6893 MB / 0.7409 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.01127, allocations: 154.2 kB / 0.7411 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.735e-05/0.01131, allocations: 36.84 kB / 0.7411 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004249/0.01173, allocations: 471.4 kB / 0.7416 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.01176, allocations: 39.2 kB / 0.7416 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/0.01176, allocations: 0 / 0.7416 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0001572/0.01191, allocations: 142 kB / 0.7417 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.01194, allocations: 55.41 kB / 0.7418 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.088e-05/0.01203, allocations: 169.8 kB / 0.742 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.01205, allocations: 25.7 kB / 0.742 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.714e-05/0.01212, allocations: 144.1 kB / 0.7421 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.01215, allocations: 59.52 kB / 0.7422 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.965e-05/0.0122, allocations: 52.08 kB / 0.7422 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.694e-05/0.01228, allocations: 330.7 kB / 0.7425 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.642e-05/0.01231, allocations: 26.81 kB / 0.7426 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.019e-05/0.01239, allocations: 125.6 kB / 0.7427 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.01253, allocations: 187.2 kB / 0.7429 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.01253, allocations: 1.906 kB / 0.7429 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001632/0.0127, allocations: 163.8 kB / 0.743 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.01271, allocations: 10.97 kB / 0.743 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.01272, allocations: 4.625 kB / 0.743 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.01273, allocations: 4.688 kB / 0.743 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.01288, allocations: 68.44 kB / 0.7431 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.01289, allocations: 11.94 kB / 0.7431 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.779e-05/0.01295, allocations: 28.41 kB / 0.7431 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.01296, allocations: 16.58 kB / 0.7432 GB, free: 6.047 MB / 0.7136 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 6.622e-05/0.01303, allocations: 130 kB / 0.7433 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.01305, allocations: 15.98 kB / 0.7433 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.01319, allocations: 110.3 kB / 0.7434 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.0132, allocations: 0 / 0.7434 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.0132, allocations: 5.125 kB / 0.7434 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01321, allocations: 0 / 0.7434 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.01332, allocations: 113.7 kB / 0.7435 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.01332, allocations: 4.688 kB / 0.7435 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.258e-05/0.0134, allocations: 40.58 kB / 0.7436 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.01343, allocations: 23.91 kB / 0.7436 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.01343, allocations: 4.719 kB / 0.7436 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-06/0.01344, allocations: 4 kB / 0.7436 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.01344, allocations: 1.531 kB / 0.7436 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01344, allocations: 0 / 0.7436 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.01355, allocations: 229.2 kB / 0.7438 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.01357, allocations: 4 kB / 0.7438 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.174e-05/0.01365, allocations: 18.34 kB / 0.7438 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.544e-05/0.01367, allocations: 7.984 kB / 0.7438 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.01368, allocations: 11.98 kB / 0.7439 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.515e-05/0.0137, allocations: 35.22 kB / 0.7439 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.0137, allocations: 0 / 0.7439 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002243/0.01393, allocations: 87.8 kB / 0.744 GB, free: 5.176 MB / 0.7136 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.0001931/0.01412, allocations: 154.4 kB / 0.7441 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001189/0.01424, allocations: 103.3 kB / 0.7442 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/0.01425, allocations: 4 kB / 0.7442 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.753e-05/0.01428, allocations: 36.77 kB / 0.7443 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.01448, allocations: 66.55 kB / 0.7443 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002853/0.01734, allocations: 337.8 kB / 0.7446 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.843e-05/0.01737, allocations: 73.16 kB / 0.7447 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.825e-05/0.01747, allocations: 38.09 kB / 0.7447 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.01763, allocations: 125.3 kB / 0.7449 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of SimCode: time 6.01e-07/0.01763, allocations: 1.312 kB / 0.7449 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of Templates: time 0.004723/0.02235, allocations: 3.579 MB / 0.7484 GB, free: 0.7852 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Media.Examples.WaterProperties/Buildings_12_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: 4.828768648207188]