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.001838/0.001838, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002264/0.002264, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.553/1.553, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.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.937/2.937, allocations: 476.7 MB / 0.7706 GB, free: 4.316 MB / 0.6231 GB " [Timeout remaining time 176] 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.002147/0.002147, allocations: 67.09 kB / 1.118 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4328/0.435, allocations: 170 MB / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01987/0.4548, allocations: 13.21 MB / 1.297 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003685/0.4585, allocations: 2.679 MB / 1.299 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.4586, allocations: 0 / 1.299 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003212/0.4589, allocations: 47.69 kB / 1.299 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003155/0.4593, allocations: 99.34 kB / 1.3 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.4608, allocations: 0.5222 MB / 1.3 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003246/0.4611, allocations: 231.9 kB / 1.3 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.407e-05/0.4612, allocations: 25.73 kB / 1.3 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00936/0.4705, allocations: 3.595 MB / 1.304 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002254/0.4708, allocations: 95.66 kB / 1.304 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.4708, allocations: 8 kB / 1.304 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002918/0.4737, allocations: 1.107 MB / 1.305 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.409e-05/0.4738, allocations: 43.83 kB / 1.305 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.4739, allocations: 83.64 kB / 1.305 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008414/0.4748, allocations: 378.7 kB / 1.305 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4748, allocations: 0 / 1.305 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4748, allocations: 0 / 1.305 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.4748, allocations: 0 / 1.305 GB, free: 5.039 MB / 0.9981 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.0008931/0.4757, allocations: 461.3 kB / 1.306 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.4757, allocations: 8.031 kB / 1.306 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.4759, allocations: 20.84 kB / 1.306 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.4762, allocations: 162.3 kB / 1.306 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.4762, allocations: 8.703 kB / 1.306 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.915e-05/0.4763, allocations: 16.38 kB / 1.306 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004442/0.4767, allocations: 264 kB / 1.306 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.4767, allocations: 0 / 1.306 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.4767, allocations: 4 kB / 1.306 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.759e-05/0.4768, allocations: 15.98 kB / 1.306 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006029/0.4774, allocations: 443.5 kB / 1.307 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.4787, allocations: 0.9363 MB / 1.308 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.4791, allocations: 157.2 kB / 1.308 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.4792, allocations: 52.89 kB / 1.308 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008582/0.48, allocations: 479.8 kB / 1.308 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.4801, allocations: 38.56 kB / 1.308 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.4801, allocations: 4 kB / 1.308 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.000387/0.4804, allocations: 145.4 kB / 1.309 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.4805, allocations: 59.34 kB / 1.309 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.4807, allocations: 171.9 kB / 1.309 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.4807, allocations: 29.7 kB / 1.309 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.4808, allocations: 144 kB / 1.309 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.024e-05/0.4809, allocations: 59.58 kB / 1.309 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.731e-05/0.481, allocations: 53.66 kB / 1.309 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.4812, allocations: 326.8 kB / 1.309 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.986e-05/0.4812, allocations: 27.98 kB / 1.309 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.4814, allocations: 146.9 kB / 1.31 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.4817, allocations: 200 kB / 1.31 GB, free: 340 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.4817, allocations: 0 / 1.31 GB, free: 340 kB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003733/0.4821, allocations: 213.6 kB / 1.31 GB, free: 120 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.4821, allocations: 4 kB / 1.31 GB, free: 116 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.4821, allocations: 4 kB / 1.31 GB, free: 112 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/0.4821, allocations: 7.984 kB / 1.31 GB, free: 104 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.4823, allocations: 59.86 kB / 1.31 GB, free: 44 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.4823, allocations: 7.938 kB / 1.31 GB, free: 36 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.4824, allocations: 31.78 kB / 1.31 GB, free: 4 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.221e-05/0.4825, allocations: 12.05 kB / 1.31 GB, free: 15.99 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.0001555/0.4826, allocations: 141.7 kB / 1.31 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.535e-05/0.4827, allocations: 19.91 kB / 1.31 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003416/0.483, allocations: 162.3 kB / 1.31 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.483, allocations: 7.875 kB / 1.31 GB, free: 15.65 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.483, allocations: 0 / 1.31 GB, free: 15.65 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.778e-06/0.4831, allocations: 0 / 1.31 GB, free: 15.65 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.4833, allocations: 192.6 kB / 1.311 GB, free: 15.42 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4833, allocations: 0 / 1.311 GB, free: 15.42 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.239e-05/0.4834, allocations: 19.98 kB / 1.311 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.4834, allocations: 4 kB / 1.311 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.4834, allocations: 4 kB / 1.311 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.4834, allocations: 7.938 kB / 1.311 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4835, allocations: 0 / 1.311 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.4838, allocations: 227.3 kB / 1.311 GB, free: 15.15 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.86e-05/0.4838, allocations: 31.81 kB / 1.311 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.4839, allocations: 0 / 1.311 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.4841, allocations: 19.92 kB / 1.311 GB, free: 15.1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.4841, allocations: 7.984 kB / 1.311 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/0.4841, allocations: 19.98 kB / 1.311 GB, free: 15.07 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001158/0.4842, allocations: 120 kB / 1.311 GB, free: 14.95 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4842, allocations: 0 / 1.311 GB, free: 14.95 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004187/0.4846, allocations: 79.86 kB / 1.311 GB, free: 14.88 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.0003656/0.485, allocations: 183 kB / 1.311 GB, free: 14.68 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000277/0.4853, allocations: 111.7 kB / 1.311 GB, free: 14.57 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.86e-06/0.4853, allocations: 4 kB / 1.311 GB, free: 14.57 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.983e-05/0.4854, allocations: 40.86 kB / 1.311 GB, free: 14.53 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004646/0.4858, allocations: 63.69 kB / 1.311 GB, free: 14.47 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007906/0.4866, allocations: 348 kB / 1.312 GB, free: 14.11 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.487, allocations: 0.7128 MB / 1.312 GB, free: 13.37 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001762/0.4872, allocations: 49.69 kB / 1.313 GB, free: 13.32 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.37e-05/0.4873, allocations: 27.44 kB / 1.313 GB, free: 13.29 MB / 1.014 GB Notification: Performance of SimCode: time 3.2e-07/0.4873, allocations: 0 / 1.313 GB, free: 13.29 MB / 1.014 GB Notification: Performance of Templates: time 0.009159/0.4964, allocations: 3.822 MB / 1.316 GB, free: 9.512 MB / 1.014 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 -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/jenkins/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: 9.649367695208639]