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.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.002489/0.002489, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002962/0.002962, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.577/1.577, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.411/3.411, allocations: 429.4 MB / 0.6729 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.933e-06/1.933e-06, allocations: 0 / 0.8775 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.581e-05/3.774e-05, allocations: 5.641 kB / 0.8775 GB, free: 6.469 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.02933/0.02937, allocations: 12.97 MB / 0.8902 GB, free: 9.48 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00551/0.03488, allocations: 2.784 MB / 0.8929 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.035, allocations: 0 / 0.8929 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003404/0.03534, allocations: 39.75 kB / 0.8929 GB, free: 6.648 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0004147/0.03575, allocations: 111.2 kB / 0.893 GB, free: 6.539 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00187/0.03762, allocations: 0.5363 MB / 0.8935 GB, free: 6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004267/0.03805, allocations: 239.8 kB / 0.8938 GB, free: 5.762 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.465e-05/0.03809, allocations: 5.812 kB / 0.8938 GB, free: 5.758 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01206/0.05015, allocations: 3.637 MB / 0.8973 GB, free: 2.09 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.05035, allocations: 83.77 kB / 0.8974 GB, free: 2.008 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.515e-05/0.05039, allocations: 8 kB / 0.8974 GB, free: 2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002775/0.05316, allocations: 1.038 MB / 0.8984 GB, free: 0.957 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.466e-05/0.05325, allocations: 47.81 kB / 0.8985 GB, free: 0.9102 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.05336, allocations: 59.89 kB / 0.8985 GB, free: 0.8516 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0009542/0.05432, allocations: 390.8 kB / 0.8989 GB, free: 480 kB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.05432, allocations: 0 / 0.8989 GB, free: 480 kB / 0.8542 GB Notification: Performance of FrontEnd: time 2.435e-06/0.05433, allocations: 0 / 0.8989 GB, free: 480 kB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.05433, allocations: 0 / 0.8989 GB, free: 480 kB / 0.8542 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.0009444/0.05528, allocations: 0.5307 MB / 0.8994 GB, free: 15.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.05531, allocations: 12.03 kB / 0.8994 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000241/0.05556, allocations: 52.59 kB / 0.8995 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.05581, allocations: 160.4 kB / 0.8996 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.05583, allocations: 8.703 kB / 0.8996 GB, free: 15.65 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.855e-05/0.05587, allocations: 28.38 kB / 0.8997 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005672/0.05644, allocations: 453.9 kB / 0.9001 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.05645, allocations: 192 / 0.9001 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.925e-05/0.05648, allocations: 12.12 kB / 0.9001 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.201e-05/0.05651, allocations: 8 kB / 0.9001 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005112/0.05702, allocations: 331.5 kB / 0.9004 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.05839, allocations: 1.01 MB / 0.9014 GB, free: 13.69 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/0.05875, allocations: 168 kB / 0.9016 GB, free: 13.51 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.05886, allocations: 55.67 kB / 0.9016 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008939/0.05975, allocations: 0.5387 MB / 0.9022 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.05979, allocations: 41.39 kB / 0.9022 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/0.05979, allocations: 0 / 0.9022 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0003801/0.06017, allocations: 140.7 kB / 0.9023 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.06023, allocations: 59.39 kB / 0.9024 GB, free: 12.63 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.06044, allocations: 221.7 kB / 0.9026 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.06047, allocations: 29.7 kB / 0.9026 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.0606, allocations: 190.8 kB / 0.9028 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.104e-05/0.06065, allocations: 59.53 kB / 0.9029 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-05/0.06074, allocations: 59.31 kB / 0.9029 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000275/0.06102, allocations: 0.5 MB / 0.9034 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.926e-05/0.06109, allocations: 35.97 kB / 0.9035 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.06133, allocations: 180.2 kB / 0.9036 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00055/0.06188, allocations: 238.7 kB / 0.9039 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.249e-06/0.06189, allocations: 4 kB / 0.9039 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003976/0.06229, allocations: 229.1 kB / 0.9041 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.0623, allocations: 4 kB / 0.9041 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.06231, allocations: 4 kB / 0.9041 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.06233, allocations: 8 kB / 0.9041 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.06253, allocations: 60.38 kB / 0.9041 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.06254, allocations: 8 kB / 0.9042 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.06265, allocations: 27.78 kB / 0.9042 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/0.06268, allocations: 15.98 kB / 0.9042 GB, free: 10.6 MB / 0.8698 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.0001508/0.06283, allocations: 176.5 kB / 0.9044 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.366e-05/0.06289, allocations: 23.94 kB / 0.9044 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00039/0.06328, allocations: 157.1 kB / 0.9045 GB, free: 10.24 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.06329, allocations: 0 / 0.9045 GB, free: 10.24 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.0633, allocations: 4 kB / 0.9045 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.0633, allocations: 0 / 0.9045 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.06358, allocations: 168.5 kB / 0.9047 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.06358, allocations: 7.938 kB / 0.9047 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.0637, allocations: 31.98 kB / 0.9047 GB, free: 9.996 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-06/0.06371, allocations: 0 / 0.9047 GB, free: 9.996 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.06372, allocations: 3.984 kB / 0.9047 GB, free: 9.992 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.06372, allocations: 4 kB / 0.9048 GB, free: 9.988 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.06373, allocations: 3.938 kB / 0.9048 GB, free: 9.984 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003763/0.0641, allocations: 275.8 kB / 0.905 GB, free: 9.695 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.614e-05/0.0642, allocations: 39.8 kB / 0.9051 GB, free: 9.656 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.06422, allocations: 0 / 0.9051 GB, free: 9.656 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.06439, allocations: 12 kB / 0.9051 GB, free: 9.645 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.06443, allocations: 11.98 kB / 0.9051 GB, free: 9.633 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.06446, allocations: 11.98 kB / 0.9051 GB, free: 9.621 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001191/0.06458, allocations: 157 kB / 0.9052 GB, free: 9.469 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.06458, allocations: 0 / 0.9052 GB, free: 9.469 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004172/0.06499, allocations: 75.88 kB / 0.9053 GB, free: 9.395 MB / 0.8698 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.0004101/0.0654, allocations: 190.9 kB / 0.9055 GB, free: 9.195 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002972/0.0657, allocations: 127.9 kB / 0.9056 GB, free: 9.066 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.0657, allocations: 0 / 0.9056 GB, free: 9.066 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.723e-05/0.06579, allocations: 51.56 kB / 0.9057 GB, free: 9.016 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.06621, allocations: 51.89 kB / 0.9057 GB, free: 8.965 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007854/0.067, allocations: 315 kB / 0.906 GB, free: 8.629 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.06711, allocations: 106.5 kB / 0.9061 GB, free: 8.508 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001582/0.06727, allocations: 49.2 kB / 0.9062 GB, free: 8.461 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.418e-05/0.06732, allocations: 28.5 kB / 0.9062 GB, free: 8.434 MB / 0.8698 GB Notification: Performance of SimCode: time 6.81e-07/0.06732, allocations: 3.938 kB / 0.9062 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of Templates: time 0.008479/0.0758, allocations: 3.383 MB / 0.9095 GB, free: 5.113 MB / 0.8698 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 240] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.778394574066624]