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.001893/0.001893, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.00225/0.00225, allocations: 155.4 kB / 23.01 MB, free: 4.949 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.54/1.54, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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 2.833/2.833, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 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.Specialized.Water.Examples.WaterProperties_pT,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.Specialized.Water.Examples.WaterProperties_pT") translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,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.Specialized.Water.Examples.WaterProperties_pT") [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.002167/0.002167, allocations: 67.91 kB / 0.982 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.094/1.096, allocations: 176.1 MB / 1.154 GB, free: 33.36 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01266/1.109, allocations: 11.95 MB / 1.166 GB, free: 25.61 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002077/1.111, allocations: 2.413 MB / 1.168 GB, free: 24.01 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.16e-05/1.111, allocations: 2.688 kB / 1.168 GB, free: 24.01 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002876/1.111, allocations: 49.14 kB / 1.168 GB, free: 23.98 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002906/1.112, allocations: 99.02 kB / 1.168 GB, free: 23.92 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001217/1.113, allocations: 0.5257 MB / 1.169 GB, free: 23.64 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002909/1.113, allocations: 241.5 kB / 1.169 GB, free: 23.54 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 8.223e-05/1.113, allocations: 6.906 kB / 1.169 GB, free: 23.53 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009556/1.123, allocations: 3.585 MB / 1.172 GB, free: 22.1 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/1.123, allocations: 88.86 kB / 1.172 GB, free: 22.06 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.417e-05/1.123, allocations: 11.88 kB / 1.172 GB, free: 22.06 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002539/1.126, allocations: 1.035 MB / 1.173 GB, free: 21.69 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.532e-05/1.126, allocations: 43.72 kB / 1.174 GB, free: 21.67 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/1.126, allocations: 71.27 kB / 1.174 GB, free: 21.64 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000948/1.127, allocations: 357 kB / 1.174 GB, free: 21.52 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/1.127, allocations: 4.594 kB / 1.174 GB, free: 21.52 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.574e-06/1.127, allocations: 0.6562 kB / 1.174 GB, free: 21.52 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.265e-06/1.127, allocations: 0 / 1.174 GB, free: 21.52 MB / 1.076 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.000787/1.128, allocations: 446.3 kB / 1.174 GB, free: 21.16 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/1.128, allocations: 9.625 kB / 1.174 GB, free: 21.16 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/1.128, allocations: 25.28 kB / 1.174 GB, free: 21.14 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/1.128, allocations: 166.9 kB / 1.175 GB, free: 20.99 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/1.128, allocations: 11.05 kB / 1.175 GB, free: 20.98 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/1.128, allocations: 18.78 kB / 1.175 GB, free: 20.98 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004991/1.129, allocations: 489.3 kB / 1.175 GB, free: 20.56 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/1.129, allocations: 0.5 kB / 1.175 GB, free: 20.56 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/1.129, allocations: 14.83 kB / 1.175 GB, free: 20.55 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.243e-05/1.129, allocations: 9.562 kB / 1.175 GB, free: 20.54 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006307/1.129, allocations: 417.7 kB / 1.175 GB, free: 20.47 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/1.13, allocations: 0.7824 MB / 1.176 GB, free: 19.82 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003936/1.131, allocations: 150.4 kB / 1.176 GB, free: 19.77 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/1.131, allocations: 56.95 kB / 1.176 GB, free: 19.75 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006943/1.132, allocations: 467.6 kB / 1.177 GB, free: 19.42 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/1.132, allocations: 34.56 kB / 1.177 GB, free: 19.38 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/1.132, allocations: 0 / 1.177 GB, free: 19.38 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.0003476/1.132, allocations: 141.6 kB / 1.177 GB, free: 19.31 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/1.132, allocations: 57.66 kB / 1.177 GB, free: 19.25 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/1.132, allocations: 165.6 kB / 1.177 GB, free: 19.12 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/1.132, allocations: 30.86 kB / 1.177 GB, free: 19.09 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.832e-05/1.132, allocations: 147.8 kB / 1.177 GB, free: 18.95 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/1.132, allocations: 62.75 kB / 1.177 GB, free: 18.9 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.734e-05/1.132, allocations: 53.66 kB / 1.178 GB, free: 18.87 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.799e-05/1.132, allocations: 325.6 kB / 1.178 GB, free: 18.55 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.092e-05/1.132, allocations: 35.41 kB / 1.178 GB, free: 18.54 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/1.133, allocations: 138.9 kB / 1.178 GB, free: 18.4 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/1.133, allocations: 200.4 kB / 1.178 GB, free: 18.22 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/1.133, allocations: 1.281 kB / 1.178 GB, free: 18.22 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003565/1.133, allocations: 210.4 kB / 1.178 GB, free: 18.12 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/1.133, allocations: 8.062 kB / 1.178 GB, free: 18.12 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/1.133, allocations: 4.375 kB / 1.178 GB, free: 18.12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/1.133, allocations: 4.312 kB / 1.178 GB, free: 18.12 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/1.133, allocations: 64.86 kB / 1.178 GB, free: 18.11 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/1.133, allocations: 10.14 kB / 1.179 GB, free: 18.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/1.133, allocations: 27.84 kB / 1.179 GB, free: 18.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/1.133, allocations: 19.83 kB / 1.179 GB, free: 18.08 MB / 1.076 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.0001015/1.134, allocations: 135.3 kB / 1.179 GB, free: 17.95 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.279e-05/1.134, allocations: 19.67 kB / 1.179 GB, free: 17.94 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003225/1.134, allocations: 148.7 kB / 1.179 GB, free: 17.86 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/1.134, allocations: 2.156 kB / 1.179 GB, free: 17.86 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/1.134, allocations: 5.516 kB / 1.179 GB, free: 17.86 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/1.134, allocations: 0.5156 kB / 1.179 GB, free: 17.86 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/1.134, allocations: 154.9 kB / 1.179 GB, free: 17.71 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/1.134, allocations: 9.656 kB / 1.179 GB, free: 17.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/1.134, allocations: 30.44 kB / 1.179 GB, free: 17.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/1.134, allocations: 1.25 kB / 1.179 GB, free: 17.7 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/1.134, allocations: 7.078 kB / 1.179 GB, free: 17.69 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/1.134, allocations: 0.6094 kB / 1.179 GB, free: 17.69 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.134, allocations: 5.125 kB / 1.179 GB, free: 17.69 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/1.135, allocations: 218.1 kB / 1.179 GB, free: 17.52 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.638e-05/1.135, allocations: 32 kB / 1.179 GB, free: 17.51 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/1.135, allocations: 1.25 kB / 1.179 GB, free: 17.51 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/1.135, allocations: 14.52 kB / 1.179 GB, free: 17.51 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/1.135, allocations: 13.08 kB / 1.179 GB, free: 17.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.899e-05/1.135, allocations: 17.17 kB / 1.179 GB, free: 17.5 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.783e-05/1.135, allocations: 108 kB / 1.179 GB, free: 17.41 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.135, allocations: 4.938 kB / 1.179 GB, free: 17.41 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004571/1.135, allocations: 84.8 kB / 1.18 GB, free: 17.39 MB / 1.076 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.0003499/1.136, allocations: 190 kB / 1.18 GB, free: 17.27 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002726/1.136, allocations: 110.8 kB / 1.18 GB, free: 17.24 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.136, allocations: 1.375 kB / 1.18 GB, free: 17.24 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.423e-05/1.136, allocations: 46.39 kB / 1.18 GB, free: 17.22 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/1.137, allocations: 43.48 kB / 1.18 GB, free: 17.21 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007461/1.137, allocations: 336.8 kB / 1.18 GB, free: 17 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/1.137, allocations: 111.2 kB / 1.18 GB, free: 16.91 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001577/1.138, allocations: 46.12 kB / 1.18 GB, free: 16.89 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.682e-05/1.138, allocations: 27.16 kB / 1.18 GB, free: 16.88 MB / 1.076 GB Notification: Performance of SimCode: time 6.01e-07/1.138, allocations: 3.938 kB / 1.18 GB, free: 16.88 MB / 1.076 GB Notification: Performance of Templates: time 0.01079/1.148, allocations: 3.34 MB / 1.184 GB, free: 16.38 MB / 1.076 GB " [Timeout remaining time 299] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.527931557968259]