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.001861/0.001861, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001745/0.001745, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.511/1.511, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.87/2.87, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.8109 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.009e-05/3.201e-05, allocations: 2.312 kB / 0.8109 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.02107/0.0211, allocations: 11.96 MB / 0.8225 GB, free: 6.113 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003784/0.02488, allocations: 2.414 MB / 0.8249 GB, free: 3.691 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.02502, allocations: 0 / 0.8249 GB, free: 3.691 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000324/0.02534, allocations: 43.75 kB / 0.8249 GB, free: 3.648 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003916/0.02573, allocations: 103.2 kB / 0.825 GB, free: 3.547 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.02738, allocations: 0.5341 MB / 0.8256 GB, free: 3.012 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004015/0.02778, allocations: 243.8 kB / 0.8258 GB, free: 2.773 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.852e-05/0.02783, allocations: 13.8 kB / 0.8258 GB, free: 2.762 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01029/0.03812, allocations: 3.618 MB / 0.8293 GB, free: 15.11 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003055/0.03842, allocations: 79.77 kB / 0.8294 GB, free: 15.04 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 5.628e-05/0.03848, allocations: 8 kB / 0.8294 GB, free: 15.03 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003321/0.0418, allocations: 1.046 MB / 0.8304 GB, free: 13.98 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.04191, allocations: 43.88 kB / 0.8305 GB, free: 13.93 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.04207, allocations: 59.84 kB / 0.8305 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.04333, allocations: 386.8 kB / 0.8309 GB, free: 13.5 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.04333, allocations: 0 / 0.8309 GB, free: 13.5 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.472e-06/0.04333, allocations: 0 / 0.8309 GB, free: 13.5 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.04334, allocations: 0 / 0.8309 GB, free: 13.5 MB / 0.7917 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.001019/0.04436, allocations: 445.4 kB / 0.8313 GB, free: 13.03 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.04441, allocations: 8.031 kB / 0.8313 GB, free: 13.02 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002866/0.04469, allocations: 44.77 kB / 0.8314 GB, free: 12.98 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004133/0.04511, allocations: 165.5 kB / 0.8315 GB, free: 12.79 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.04513, allocations: 16.7 kB / 0.8316 GB, free: 12.78 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.958e-05/0.04518, allocations: 20.38 kB / 0.8316 GB, free: 12.76 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006647/0.04584, allocations: 491.8 kB / 0.832 GB, free: 12.2 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.04586, allocations: 4.188 kB / 0.8321 GB, free: 12.2 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/0.04589, allocations: 8.125 kB / 0.8321 GB, free: 12.19 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/0.04593, allocations: 11.94 kB / 0.8321 GB, free: 12.18 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006366/0.04657, allocations: 419.5 kB / 0.8325 GB, free: 11.77 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.04831, allocations: 0.7818 MB / 0.8332 GB, free: 10.94 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003957/0.0487, allocations: 151.5 kB / 0.8334 GB, free: 10.79 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.04882, allocations: 56.81 kB / 0.8334 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009264/0.04975, allocations: 463.8 kB / 0.8339 GB, free: 10.25 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.04979, allocations: 42.5 kB / 0.8339 GB, free: 10.2 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=15): time 1.703e-06/0.04979, allocations: 0 / 0.8339 GB, free: 10.2 MB / 0.7917 GB Notification: Performance of matching and sorting (n=15): time 0.000446/0.05024, allocations: 152.1 kB / 0.8341 GB, free: 10.05 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.05029, allocations: 51.41 kB / 0.8341 GB, free: 9.988 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.05047, allocations: 165.1 kB / 0.8343 GB, free: 9.816 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.266e-05/0.05052, allocations: 33.7 kB / 0.8343 GB, free: 9.777 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.05064, allocations: 148.1 kB / 0.8344 GB, free: 9.629 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 6.046e-05/0.0507, allocations: 59.52 kB / 0.8345 GB, free: 9.57 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.206e-05/0.05079, allocations: 45.7 kB / 0.8345 GB, free: 9.52 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001987/0.05098, allocations: 326.8 kB / 0.8349 GB, free: 9.191 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.05109, allocations: 31.98 kB / 0.8349 GB, free: 9.16 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.05129, allocations: 145.7 kB / 0.835 GB, free: 8.969 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003293/0.05162, allocations: 193.5 kB / 0.8352 GB, free: 8.73 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.05162, allocations: 12 kB / 0.8352 GB, free: 8.719 MB / 0.7917 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004407/0.05206, allocations: 226.9 kB / 0.8354 GB, free: 8.492 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.05209, allocations: 4 kB / 0.8354 GB, free: 8.488 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.0521, allocations: 8.453 kB / 0.8354 GB, free: 8.48 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.189e-05/0.05213, allocations: 8 kB / 0.8355 GB, free: 8.473 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.05233, allocations: 55.92 kB / 0.8355 GB, free: 8.418 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.05235, allocations: 7.984 kB / 0.8355 GB, free: 8.41 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.05247, allocations: 23.84 kB / 0.8355 GB, free: 8.387 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.0525, allocations: 16 kB / 0.8356 GB, free: 8.371 MB / 0.7917 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.000158/0.05266, allocations: 133.7 kB / 0.8357 GB, free: 8.23 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-05/0.05273, allocations: 23.91 kB / 0.8357 GB, free: 8.207 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003708/0.0531, allocations: 154.1 kB / 0.8358 GB, free: 8.051 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.05311, allocations: 4 kB / 0.8359 GB, free: 8.047 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.05312, allocations: 3.984 kB / 0.8359 GB, free: 8.043 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.05313, allocations: 7.984 kB / 0.8359 GB, free: 8.035 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.0534, allocations: 157.2 kB / 0.836 GB, free: 7.852 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.0534, allocations: 0 / 0.836 GB, free: 7.852 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.05352, allocations: 23.98 kB / 0.836 GB, free: 7.828 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/0.05352, allocations: 4 kB / 0.836 GB, free: 7.824 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.05354, allocations: 4 kB / 0.836 GB, free: 7.82 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.05354, allocations: 0 / 0.836 GB, free: 7.82 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.05354, allocations: 3.938 kB / 0.836 GB, free: 7.816 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.05388, allocations: 234.1 kB / 0.8363 GB, free: 7.574 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 8.245e-05/0.05396, allocations: 35.75 kB / 0.8363 GB, free: 7.539 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.05399, allocations: 8 kB / 0.8363 GB, free: 7.531 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.05418, allocations: 11.98 kB / 0.8363 GB, free: 7.52 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.05421, allocations: 11.98 kB / 0.8363 GB, free: 7.508 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/0.05424, allocations: 15.98 kB / 0.8364 GB, free: 7.492 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 9.876e-05/0.05434, allocations: 107.2 kB / 0.8365 GB, free: 7.387 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.05434, allocations: 0 / 0.8365 GB, free: 7.387 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004383/0.05478, allocations: 75.88 kB / 0.8365 GB, free: 7.312 MB / 0.7917 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.000432/0.05521, allocations: 191 kB / 0.8367 GB, free: 7.113 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.000281/0.05549, allocations: 116.5 kB / 0.8368 GB, free: 7 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.0555, allocations: 0 / 0.8368 GB, free: 7 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 7.548e-05/0.05557, allocations: 40.09 kB / 0.8369 GB, free: 6.961 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004377/0.05601, allocations: 57.73 kB / 0.8369 GB, free: 6.906 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008316/0.05684, allocations: 313.5 kB / 0.8372 GB, free: 6.574 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.05697, allocations: 102.5 kB / 0.8373 GB, free: 6.457 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001791/0.05715, allocations: 49.27 kB / 0.8374 GB, free: 6.41 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.251e-05/0.05722, allocations: 24.48 kB / 0.8374 GB, free: 6.387 MB / 0.7917 GB Notification: Performance of SimCode: time 8.62e-07/0.05722, allocations: 0 / 0.8374 GB, free: 6.387 MB / 0.7917 GB Notification: Performance of Templates: time 0.009764/0.06698, allocations: 3.39 MB / 0.8407 GB, free: 3.078 MB / 0.7917 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=400 -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/jenkins/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: 8.02972726803273]