Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.001082/0.001082, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001656/0.002738, allocations: 449.8 kB / 10.44 MB, free: 252 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.001168/0.001168, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00144/0.002608, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9767/0.9767, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08776/1.064, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.742/1.742, allocations: 378.4 MB / 0.6079 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4537/2.196, allocations: 123.3 MB / 0.7283 GB, free: 5.719 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.Specialized.Water.Examples.WaterProperties_pT,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.Specialized.Water.Examples.WaterProperties_pT") translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,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.Specialized.Water.Examples.WaterProperties_pT") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.7297 GB, free: 4.355 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.908e-06/1.112e-05, allocations: 5.094 kB / 0.7297 GB, free: 4.352 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.0115/0.01151, allocations: 13.12 MB / 0.7425 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002068/0.01358, allocations: 2.808 MB / 0.7453 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.187e-05/0.01364, allocations: 0.875 kB / 0.7453 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.0138, allocations: 43.7 kB / 0.7453 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000158/0.01396, allocations: 109.7 kB / 0.7454 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000806/0.01477, allocations: 0.5255 MB / 0.7459 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.01497, allocations: 240.8 kB / 0.7462 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.105e-05/0.01501, allocations: 14.45 kB / 0.7462 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004695/0.01971, allocations: 3.031 MB / 0.7491 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.01982, allocations: 79.72 kB / 0.7492 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.01984, allocations: 8.719 kB / 0.7492 GB, free: 500 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/0.02119, allocations: 0.9916 MB / 0.7502 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.35e-05/0.02124, allocations: 31.88 kB / 0.7502 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.866e-05/0.02129, allocations: 47.94 kB / 0.7503 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003843/0.02168, allocations: 319 kB / 0.7506 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 9.387e-06/0.02169, allocations: 5.469 kB / 0.7506 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.11e-07/0.02169, allocations: 0 / 0.7506 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.859e-06/0.0217, allocations: 0 / 0.7506 GB, free: 15.11 MB / 0.7292 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.0006503/0.02235, allocations: 0.5442 MB / 0.7511 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.02239, allocations: 16.55 kB / 0.7511 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.02257, allocations: 38.2 kB / 0.7511 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.0228, allocations: 157.5 kB / 0.7513 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.02281, allocations: 8.703 kB / 0.7513 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.02284, allocations: 28.34 kB / 0.7513 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.02308, allocations: 409.3 kB / 0.7517 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.02309, allocations: 192 / 0.7517 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.0231, allocations: 16.11 kB / 0.7517 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/0.02313, allocations: 4 kB / 0.7517 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001881/0.02332, allocations: 243.8 kB / 0.752 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006259/0.02395, allocations: 0.7021 MB / 0.7527 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.02411, allocations: 165.7 kB / 0.7528 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.612e-05/0.02415, allocations: 32.84 kB / 0.7528 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004149/0.02456, allocations: 482.9 kB / 0.7533 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.02458, allocations: 43.41 kB / 0.7534 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/0.02458, allocations: 0 / 0.7534 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0001489/0.02473, allocations: 135.7 kB / 0.7535 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.02476, allocations: 63.33 kB / 0.7535 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.017e-05/0.02484, allocations: 156.7 kB / 0.7537 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.02485, allocations: 29.7 kB / 0.7537 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.754e-05/0.02491, allocations: 152 kB / 0.7539 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.02493, allocations: 51.58 kB / 0.7539 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.02498, allocations: 54.7 kB / 0.754 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.024e-05/0.02506, allocations: 322.8 kB / 0.7543 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.465e-05/0.02508, allocations: 22.81 kB / 0.7543 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.099e-05/0.02515, allocations: 130.2 kB / 0.7544 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.02528, allocations: 188.5 kB / 0.7546 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.02528, allocations: 4 kB / 0.7546 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001374/0.02542, allocations: 165.1 kB / 0.7548 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.02543, allocations: 4 kB / 0.7548 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.02543, allocations: 5.031 kB / 0.7548 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.02545, allocations: 8 kB / 0.7548 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.0256, allocations: 72.98 kB / 0.7548 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.0256, allocations: 4 kB / 0.7549 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.797e-05/0.02566, allocations: 32.42 kB / 0.7549 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.02567, allocations: 11.98 kB / 0.7549 GB, free: 10.33 MB / 0.7292 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.984e-05/0.02574, allocations: 137.1 kB / 0.755 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.02577, allocations: 15.42 kB / 0.755 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.02591, allocations: 114.2 kB / 0.7551 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.02592, allocations: 4 kB / 0.7552 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.02592, allocations: 0 / 0.7552 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.02592, allocations: 0 / 0.7552 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.02603, allocations: 109.8 kB / 0.7553 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.02603, allocations: 3.938 kB / 0.7553 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.374e-05/0.02611, allocations: 43.91 kB / 0.7553 GB, free: 9.879 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.02614, allocations: 28.64 kB / 0.7553 GB, free: 9.852 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.02614, allocations: 0 / 0.7553 GB, free: 9.852 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.02615, allocations: 8.578 kB / 0.7553 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.02615, allocations: 0 / 0.7553 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.02615, allocations: 1.531 kB / 0.7553 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.02627, allocations: 241.1 kB / 0.7556 GB, free: 9.594 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.02628, allocations: 0 / 0.7556 GB, free: 9.594 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.567e-05/0.02635, allocations: 11.98 kB / 0.7556 GB, free: 9.582 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/0.02637, allocations: 12.39 kB / 0.7556 GB, free: 9.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.02638, allocations: 12 kB / 0.7556 GB, free: 9.559 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.591e-05/0.02641, allocations: 32.81 kB / 0.7556 GB, free: 9.523 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.02641, allocations: 0 / 0.7556 GB, free: 9.523 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002183/0.02663, allocations: 75.88 kB / 0.7557 GB, free: 9.449 MB / 0.7292 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.0002213/0.02685, allocations: 180.2 kB / 0.7559 GB, free: 9.266 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001219/0.02697, allocations: 100.6 kB / 0.756 GB, free: 9.164 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.968e-06/0.02698, allocations: 3.984 kB / 0.756 GB, free: 9.16 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.323e-05/0.02702, allocations: 50.17 kB / 0.756 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.02726, allocations: 154 kB / 0.7562 GB, free: 8.941 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/0.02994, allocations: 333 kB / 0.7565 GB, free: 8.586 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.792e-05/0.02998, allocations: 71.98 kB / 0.7566 GB, free: 8.496 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.465e-05/0.03007, allocations: 45.28 kB / 0.7566 GB, free: 8.453 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.03022, allocations: 121.3 kB / 0.7567 GB, free: 8.336 MB / 0.7292 GB Notification: Performance of SimCode: time 7.71e-07/0.03022, allocations: 0 / 0.7567 GB, free: 8.336 MB / 0.7292 GB Notification: Performance of Templates: time 0.005899/0.03612, allocations: 3.827 MB / 0.7605 GB, free: 4.562 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT/Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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: 4.979163029231131]