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.001963/0.001963, allocations: 80.77 kB / 19.18 MB, free: 2.516 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.002469/0.002469, allocations: 163.4 kB / 22.46 MB, free: 5.375 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.508/1.508, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 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.952/2.952, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 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 2.034e-06/2.034e-06, allocations: 3.938 kB / 0.9815 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.988e-05/4.191e-05, allocations: 6.281 kB / 0.9815 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01832/0.01836, allocations: 11.95 MB / 0.9932 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003275/0.02163, allocations: 2.41 MB / 0.9955 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.02176, allocations: 4 kB / 0.9955 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003336/0.02209, allocations: 47.67 kB / 0.9956 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003347/0.02243, allocations: 99.25 kB / 0.9957 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.02404, allocations: 0.5404 MB / 0.9962 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003299/0.02437, allocations: 239.8 kB / 0.9964 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 6.259e-05/0.02444, allocations: 9.797 kB / 0.9964 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009408/0.03385, allocations: 3.638 MB / 1 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000234/0.03408, allocations: 79.77 kB / 1 GB, free: 8.828 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.03412, allocations: 12 kB / 1 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00315/0.03727, allocations: 1.04 MB / 1.001 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.429e-05/0.03736, allocations: 43.81 kB / 1.001 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.03747, allocations: 59.89 kB / 1.001 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009701/0.03844, allocations: 386.9 kB / 1.002 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.03845, allocations: 4 kB / 1.002 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.483e-06/0.03845, allocations: 0 / 1.002 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.03845, allocations: 0 / 1.002 GB, free: 7.297 MB / 0.9512 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.0009531/0.03941, allocations: 441.4 kB / 1.002 GB, free: 6.836 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.03946, allocations: 16.02 kB / 1.002 GB, free: 6.82 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/0.03965, allocations: 24.84 kB / 1.002 GB, free: 6.797 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.04, allocations: 157.6 kB / 1.002 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.04002, allocations: 8.703 kB / 1.002 GB, free: 6.609 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.04005, allocations: 16.38 kB / 1.002 GB, free: 6.594 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005853/0.04063, allocations: 491.9 kB / 1.003 GB, free: 6.039 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.04065, allocations: 8.172 kB / 1.003 GB, free: 6.031 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.417e-05/0.04068, allocations: 12.12 kB / 1.003 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.234e-05/0.04071, allocations: 8 kB / 1.003 GB, free: 6.012 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005519/0.04126, allocations: 423.4 kB / 1.003 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.0425, allocations: 0.7855 MB / 1.004 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000372/0.04288, allocations: 153.8 kB / 1.004 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.04299, allocations: 56.88 kB / 1.004 GB, free: 4.551 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008287/0.04382, allocations: 467.8 kB / 1.004 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.04385, allocations: 34.5 kB / 1.005 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 3.387e-06/0.04385, allocations: 3.984 kB / 1.005 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0003651/0.04422, allocations: 144.6 kB / 1.005 GB, free: 3.883 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.04426, allocations: 55.41 kB / 1.005 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.04441, allocations: 161 kB / 1.005 GB, free: 3.648 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.504e-05/0.04444, allocations: 29.7 kB / 1.005 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.874e-05/0.04454, allocations: 140.1 kB / 1.005 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.74e-05/0.04459, allocations: 63.52 kB / 1.005 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.007e-05/0.04467, allocations: 53.66 kB / 1.005 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.04481, allocations: 326.8 kB / 1.005 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.365e-05/0.04488, allocations: 35.97 kB / 1.005 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.04505, allocations: 141.7 kB / 1.006 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/0.04532, allocations: 197.5 kB / 1.006 GB, free: 2.559 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.04532, allocations: 0 / 1.006 GB, free: 2.559 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003642/0.04568, allocations: 217.2 kB / 1.006 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.0457, allocations: 4 kB / 1.006 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.04571, allocations: 4 kB / 1.006 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.04573, allocations: 8 kB / 1.006 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.04592, allocations: 59.91 kB / 1.006 GB, free: 2.266 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.04594, allocations: 4.469 kB / 1.006 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.04605, allocations: 31.72 kB / 1.006 GB, free: 2.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.04607, allocations: 16 kB / 1.006 GB, free: 2.215 MB / 0.9512 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.0001212/0.04619, allocations: 129.7 kB / 1.006 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.276e-05/0.04624, allocations: 11.95 kB / 1.006 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003314/0.04658, allocations: 168.9 kB / 1.006 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.04658, allocations: 0 / 1.006 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.04659, allocations: 0 / 1.006 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.04659, allocations: 0 / 1.006 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.04682, allocations: 157.2 kB / 1.007 GB, free: 1.715 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.04682, allocations: 0 / 1.007 GB, free: 1.715 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.04694, allocations: 31.98 kB / 1.007 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.04694, allocations: 0 / 1.007 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.04695, allocations: 11.94 kB / 1.007 GB, free: 1.672 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.04696, allocations: 4 kB / 1.007 GB, free: 1.668 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.04696, allocations: 7.922 kB / 1.007 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002853/0.04725, allocations: 215.3 kB / 1.007 GB, free: 1.434 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.356e-05/0.04732, allocations: 31.88 kB / 1.007 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.04735, allocations: 7.984 kB / 1.007 GB, free: 1.395 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.04755, allocations: 12 kB / 1.007 GB, free: 1.383 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.04758, allocations: 11.97 kB / 1.007 GB, free: 1.371 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.241e-05/0.0476, allocations: 12 kB / 1.007 GB, free: 1.359 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.803e-05/0.04769, allocations: 113.1 kB / 1.007 GB, free: 1.25 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.04769, allocations: 0 / 1.007 GB, free: 1.25 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004165/0.0481, allocations: 83.8 kB / 1.007 GB, free: 1.168 MB / 0.9512 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.0003781/0.04848, allocations: 198.9 kB / 1.007 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002457/0.04873, allocations: 111.7 kB / 1.007 GB, free: 0.8516 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.04873, allocations: 4 kB / 1.007 GB, free: 0.8477 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 7.248e-05/0.04881, allocations: 41.33 kB / 1.007 GB, free: 0.8086 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.0492, allocations: 43.42 kB / 1.007 GB, free: 0.7695 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007143/0.04992, allocations: 306.1 kB / 1.008 GB, free: 452 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.05004, allocations: 110.8 kB / 1.008 GB, free: 324 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001518/0.05019, allocations: 45.28 kB / 1.008 GB, free: 280 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.854e-05/0.05024, allocations: 24.5 kB / 1.008 GB, free: 256 kB / 0.9512 GB Notification: Performance of SimCode: time 3.71e-07/0.05024, allocations: 0 / 1.008 GB, free: 256 kB / 0.9512 GB Notification: Performance of Templates: time 0.008476/0.05871, allocations: 3.358 MB / 1.011 GB, free: 12.96 MB / 0.9669 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.647186696529388]