Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 111.3 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 191.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.849/2.849, allocations: 489.3 MB / 0.7687 GB, free: 3.758 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.91 kB / 1.103 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8808/0.8828, allocations: 163.8 MB / 1.263 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01368/0.8965, allocations: 12.97 MB / 1.275 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003119/0.8996, allocations: 2.668 MB / 1.278 GB, free: 13.14 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.062e-05/0.8997, allocations: 1.969 kB / 1.278 GB, free: 13.14 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002387/0.9, allocations: 45.78 kB / 1.278 GB, free: 13.12 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002601/0.9003, allocations: 100.5 kB / 1.278 GB, free: 13.05 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.9014, allocations: 0.5002 MB / 1.279 GB, free: 12.79 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002713/0.9017, allocations: 229.1 kB / 1.279 GB, free: 12.69 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.518e-05/0.9017, allocations: 14.42 kB / 1.279 GB, free: 12.68 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009223/0.911, allocations: 3.592 MB / 1.282 GB, free: 11.24 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.9112, allocations: 91.05 kB / 1.282 GB, free: 11.2 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.9112, allocations: 7.781 kB / 1.282 GB, free: 11.2 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002463/0.9137, allocations: 1.078 MB / 1.283 GB, free: 10.8 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.999e-05/0.9137, allocations: 34.84 kB / 1.283 GB, free: 10.79 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.9138, allocations: 88.16 kB / 1.284 GB, free: 10.75 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0006402/0.9145, allocations: 366 kB / 1.284 GB, free: 10.62 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.9145, allocations: 0.6094 kB / 1.284 GB, free: 10.62 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.432e-06/0.9145, allocations: 1.188 kB / 1.284 GB, free: 10.62 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.908e-06/0.9145, allocations: 0 / 1.284 GB, free: 10.62 MB / 1.014 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.0007537/0.9153, allocations: 0.5076 MB / 1.284 GB, free: 10.16 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.9153, allocations: 9.75 kB / 1.284 GB, free: 10.16 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.9155, allocations: 23.27 kB / 1.284 GB, free: 10.16 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.9158, allocations: 220.3 kB / 1.285 GB, free: 9.934 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.9158, allocations: 11.02 kB / 1.285 GB, free: 9.93 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.9158, allocations: 19.42 kB / 1.285 GB, free: 9.922 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003922/0.9162, allocations: 245.7 kB / 1.285 GB, free: 9.785 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.9163, allocations: 0 / 1.285 GB, free: 9.785 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.9163, allocations: 15.33 kB / 1.285 GB, free: 9.773 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.9163, allocations: 6.234 kB / 1.285 GB, free: 9.773 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000499/0.9168, allocations: 425.5 kB / 1.285 GB, free: 9.699 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.918, allocations: 0.9634 MB / 1.286 GB, free: 8.848 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.9183, allocations: 161.1 kB / 1.286 GB, free: 8.785 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.9184, allocations: 71.27 kB / 1.286 GB, free: 8.754 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001469/0.9199, allocations: 1.83 MB / 1.288 GB, free: 6.715 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.9199, allocations: 38.14 kB / 1.288 GB, free: 6.672 MB / 1.014 GB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.9199, allocations: 4 kB / 1.288 GB, free: 6.668 MB / 1.014 GB Notification: Performance of matching and sorting (n=15): time 0.0003128/0.9203, allocations: 145.3 kB / 1.288 GB, free: 6.598 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.9203, allocations: 58.73 kB / 1.289 GB, free: 6.531 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.9205, allocations: 163.3 kB / 1.289 GB, free: 6.41 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.9205, allocations: 37.23 kB / 1.289 GB, free: 6.371 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.597e-05/0.9206, allocations: 145.8 kB / 1.289 GB, free: 6.238 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.9206, allocations: 54.62 kB / 1.289 GB, free: 6.195 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.413e-05/0.9207, allocations: 58.52 kB / 1.289 GB, free: 6.156 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.9209, allocations: 328.6 kB / 1.289 GB, free: 5.832 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.7e-05/0.9209, allocations: 36.11 kB / 1.289 GB, free: 5.824 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.9211, allocations: 135.9 kB / 1.289 GB, free: 5.684 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.9213, allocations: 198.1 kB / 1.29 GB, free: 5.504 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.9213, allocations: 2.125 kB / 1.29 GB, free: 5.504 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003176/0.9217, allocations: 212 kB / 1.29 GB, free: 5.406 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.9217, allocations: 7.875 kB / 1.29 GB, free: 5.406 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.9217, allocations: 7.719 kB / 1.29 GB, free: 5.402 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.9217, allocations: 5.219 kB / 1.29 GB, free: 5.402 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.9219, allocations: 59.2 kB / 1.29 GB, free: 5.391 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.9219, allocations: 9.641 kB / 1.29 GB, free: 5.387 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.922, allocations: 28.75 kB / 1.29 GB, free: 5.367 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.9221, allocations: 11.47 kB / 1.29 GB, free: 5.367 MB / 1.014 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.0001167/0.9222, allocations: 140.2 kB / 1.29 GB, free: 5.23 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-05/0.9222, allocations: 17.36 kB / 1.29 GB, free: 5.223 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003041/0.9225, allocations: 154.5 kB / 1.29 GB, free: 5.137 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.9226, allocations: 5.406 kB / 1.29 GB, free: 5.133 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.9226, allocations: 5.75 kB / 1.29 GB, free: 5.129 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.9226, allocations: 0.5625 kB / 1.29 GB, free: 5.129 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/0.9228, allocations: 224.6 kB / 1.29 GB, free: 4.906 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.9229, allocations: 0 / 1.29 GB, free: 4.906 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.466e-05/0.923, allocations: 26.44 kB / 1.29 GB, free: 4.902 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.923, allocations: 0.9688 kB / 1.29 GB, free: 4.902 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.923, allocations: 6.547 kB / 1.29 GB, free: 4.898 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.923, allocations: 5 kB / 1.29 GB, free: 4.895 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.923, allocations: 0.6562 kB / 1.29 GB, free: 4.895 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.9233, allocations: 234.1 kB / 1.291 GB, free: 4.719 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.807e-05/0.9234, allocations: 104.8 kB / 1.291 GB, free: 4.617 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.9234, allocations: 1.094 kB / 1.291 GB, free: 4.617 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.9236, allocations: 18.83 kB / 1.291 GB, free: 4.609 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.686e-05/0.9237, allocations: 8.562 kB / 1.291 GB, free: 4.609 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.9237, allocations: 12.94 kB / 1.291 GB, free: 4.605 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.68e-05/0.9238, allocations: 132.5 kB / 1.291 GB, free: 4.508 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9238, allocations: 0 / 1.291 GB, free: 4.508 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003774/0.9242, allocations: 81.09 kB / 1.291 GB, free: 4.488 MB / 1.014 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.0003018/0.9245, allocations: 187.5 kB / 1.291 GB, free: 4.367 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002279/0.9247, allocations: 113.4 kB / 1.291 GB, free: 4.34 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/0.9247, allocations: 0.9375 kB / 1.291 GB, free: 4.34 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 6.959e-05/0.9248, allocations: 45.05 kB / 1.291 GB, free: 4.328 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.9252, allocations: 59.47 kB / 1.291 GB, free: 4.305 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006527/0.9259, allocations: 364.2 kB / 1.292 GB, free: 4.066 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.9262, allocations: 0.7109 MB / 1.292 GB, free: 3.371 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.9263, allocations: 30.25 kB / 1.293 GB, free: 3.359 MB / 1.014 GB Notification: Performance of SimCode: time 2.01e-07/0.9263, allocations: 0 / 1.293 GB, free: 3.359 MB / 1.014 GB Notification: Performance of Templates: time 0.006048/0.9324, allocations: 3.434 MB / 1.296 GB, free: 2.902 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.250790424877778]