Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001301/0.001301, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.001437/0.001437, allocations: 160.3 kB / 23.01 MB, free: 4.605 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.484/1.484, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.687/2.687, allocations: 359.1 MB / 0.6044 GB, free: 14.91 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002243/0.002243, allocations: 63.89 kB / 0.9516 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3245, allocations: 169.9 MB / 1.117 GB, free: 2.574 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.0181/0.3426, allocations: 11.96 MB / 1.129 GB, free: 6.559 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003315/0.3459, allocations: 2.411 MB / 1.132 GB, free: 4.141 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.346, allocations: 8 kB / 1.132 GB, free: 4.133 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002999/0.3463, allocations: 51.61 kB / 1.132 GB, free: 4.082 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003009/0.3466, allocations: 95.36 kB / 1.132 GB, free: 3.988 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.348, allocations: 0.5107 MB / 1.132 GB, free: 3.48 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002977/0.3483, allocations: 247.8 kB / 1.132 GB, free: 3.234 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.785e-05/0.3483, allocations: 9.812 kB / 1.132 GB, free: 3.227 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5791/0.9274, allocations: 3.59 MB / 1.136 GB, free: 45.41 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.9276, allocations: 79.95 kB / 1.136 GB, free: 45.41 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.9276, allocations: 8.844 kB / 1.136 GB, free: 45.41 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002132/0.9297, allocations: 1.037 MB / 1.137 GB, free: 45.4 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.147e-05/0.9298, allocations: 38.8 kB / 1.137 GB, free: 45.4 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.656e-05/0.9299, allocations: 71.03 kB / 1.137 GB, free: 45.4 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005146/0.9304, allocations: 367.5 kB / 1.137 GB, free: 45.38 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.9304, allocations: 1.406 kB / 1.137 GB, free: 45.38 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.243e-06/0.9304, allocations: 0 / 1.137 GB, free: 45.38 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.9304, allocations: 0 / 1.137 GB, free: 45.38 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.0006014/0.931, allocations: 441.1 kB / 1.138 GB, free: 45.05 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.931, allocations: 10.81 kB / 1.138 GB, free: 45.05 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.9312, allocations: 24.41 kB / 1.138 GB, free: 45.05 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.9314, allocations: 162 kB / 1.138 GB, free: 44.91 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.9314, allocations: 9.359 kB / 1.138 GB, free: 44.91 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.9315, allocations: 17.72 kB / 1.138 GB, free: 44.91 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003441/0.9318, allocations: 497.2 kB / 1.139 GB, free: 44.55 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.9318, allocations: 2.594 kB / 1.139 GB, free: 44.55 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.9318, allocations: 7.969 kB / 1.139 GB, free: 44.55 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/0.9319, allocations: 12.12 kB / 1.139 GB, free: 44.55 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003587/0.9322, allocations: 419.9 kB / 1.139 GB, free: 44.55 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008041/0.933, allocations: 0.7919 MB / 1.14 GB, free: 44 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.9333, allocations: 150.6 kB / 1.14 GB, free: 43.98 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.633e-05/0.9334, allocations: 51.88 kB / 1.14 GB, free: 43.97 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005757/0.9339, allocations: 452.1 kB / 1.14 GB, free: 43.71 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.934, allocations: 38.84 kB / 1.14 GB, free: 43.68 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.934, allocations: 0 / 1.14 GB, free: 43.68 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.0002906/0.9343, allocations: 147.9 kB / 1.141 GB, free: 43.64 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.915e-05/0.9343, allocations: 54.31 kB / 1.141 GB, free: 43.57 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.225e-05/0.9344, allocations: 168.3 kB / 1.141 GB, free: 43.46 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.9344, allocations: 25.7 kB / 1.141 GB, free: 43.43 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.528e-05/0.9344, allocations: 146.5 kB / 1.141 GB, free: 43.31 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.9344, allocations: 62.38 kB / 1.141 GB, free: 43.27 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-05/0.9345, allocations: 51.84 kB / 1.141 GB, free: 43.25 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.077e-05/0.9345, allocations: 321.2 kB / 1.141 GB, free: 42.94 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.708e-05/0.9346, allocations: 39.33 kB / 1.141 GB, free: 42.94 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.913e-05/0.9347, allocations: 144.9 kB / 1.142 GB, free: 42.82 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.9349, allocations: 201.8 kB / 1.142 GB, free: 42.69 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.9349, allocations: 5.312 kB / 1.142 GB, free: 42.68 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002632/0.9351, allocations: 213.2 kB / 1.142 GB, free: 42.64 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.9351, allocations: 7.719 kB / 1.142 GB, free: 42.64 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.9351, allocations: 3.781 kB / 1.142 GB, free: 42.64 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.9352, allocations: 10.16 kB / 1.142 GB, free: 42.64 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.9353, allocations: 57.27 kB / 1.142 GB, free: 42.64 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.9353, allocations: 6 kB / 1.142 GB, free: 42.64 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.9354, allocations: 30.77 kB / 1.142 GB, free: 42.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.9355, allocations: 11.72 kB / 1.142 GB, free: 42.62 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 6.987e-05/0.9355, allocations: 135.9 kB / 1.142 GB, free: 42.5 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-05/0.9356, allocations: 15.83 kB / 1.142 GB, free: 42.5 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002496/0.9358, allocations: 154.7 kB / 1.142 GB, free: 42.46 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.9358, allocations: 4.812 kB / 1.142 GB, free: 42.46 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.9358, allocations: 0 / 1.142 GB, free: 42.46 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.9358, allocations: 11.12 kB / 1.142 GB, free: 42.45 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.936, allocations: 149.7 kB / 1.143 GB, free: 42.33 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.936, allocations: 0 / 1.143 GB, free: 42.33 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.9361, allocations: 37.66 kB / 1.143 GB, free: 42.33 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.9361, allocations: 2.875 kB / 1.143 GB, free: 42.33 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.9361, allocations: 0 / 1.143 GB, free: 42.33 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.9361, allocations: 2.906 kB / 1.143 GB, free: 42.33 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.9361, allocations: 1.219 kB / 1.143 GB, free: 42.33 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.9363, allocations: 222.8 kB / 1.143 GB, free: 42.19 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.9364, allocations: 33.27 kB / 1.143 GB, free: 42.18 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.9364, allocations: 10.62 kB / 1.143 GB, free: 42.17 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.9366, allocations: 14.84 kB / 1.143 GB, free: 42.17 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.471e-05/0.9366, allocations: 9.719 kB / 1.143 GB, free: 42.17 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.9366, allocations: 11.69 kB / 1.143 GB, free: 42.17 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.917e-05/0.9367, allocations: 116 kB / 1.143 GB, free: 42.09 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9367, allocations: 0 / 1.143 GB, free: 42.09 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003661/0.937, allocations: 77.75 kB / 1.143 GB, free: 42.09 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.0002574/0.9373, allocations: 189.2 kB / 1.143 GB, free: 41.98 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002054/0.9375, allocations: 116.4 kB / 1.143 GB, free: 41.98 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.9375, allocations: 2.844 kB / 1.143 GB, free: 41.98 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.741e-05/0.9376, allocations: 47.19 kB / 1.143 GB, free: 41.98 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.9379, allocations: 35.25 kB / 1.143 GB, free: 41.98 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000575/0.9385, allocations: 351.7 kB / 1.144 GB, free: 41.79 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.685e-05/0.9386, allocations: 100.2 kB / 1.144 GB, free: 41.71 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001362/0.9387, allocations: 50.17 kB / 1.144 GB, free: 41.7 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.693e-05/0.9387, allocations: 22.91 kB / 1.144 GB, free: 41.69 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.9387, allocations: 2.719 kB / 1.144 GB, free: 41.69 MB / 1.076 GB Notification: Performance of Templates: time 0.006261/0.945, allocations: 3.35 MB / 1.147 GB, free: 41.28 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.744351595989428]