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.000948/0.000948, allocations: 92.22 kB / 19.65 MB, free: 280 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.001041/0.001041, allocations: 173 kB / 23.02 MB, free: 1.551 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 0.9226/0.9226, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 1.983/1.983, allocations: 429.5 MB / 0.6732 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] 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.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|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.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|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.453e-06/1.453e-06, allocations: 0 / 0.8782 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.699e-05/1.845e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.262 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01175/0.01176, allocations: 13.05 MB / 0.891 GB, free: 9.184 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001889/0.01365, allocations: 2.776 MB / 0.8937 GB, free: 6.398 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.354e-05/0.01373, allocations: 0 / 0.8937 GB, free: 6.398 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.01398, allocations: 43.69 kB / 0.8937 GB, free: 6.355 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002239/0.0142, allocations: 99.3 kB / 0.8938 GB, free: 6.258 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008905/0.01509, allocations: 0.5403 MB / 0.8943 GB, free: 5.715 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000216/0.01531, allocations: 252 kB / 0.8946 GB, free: 5.469 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.924e-05/0.01535, allocations: 5.812 kB / 0.8946 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005478/0.02083, allocations: 3.633 MB / 0.8981 GB, free: 1.801 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.02096, allocations: 75.77 kB / 0.8982 GB, free: 1.727 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.02098, allocations: 8 kB / 0.8982 GB, free: 1.719 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001581/0.02256, allocations: 1.046 MB / 0.8992 GB, free: 0.668 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.589e-05/0.02263, allocations: 39.81 kB / 0.8993 GB, free: 0.6289 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.813e-05/0.0227, allocations: 59.91 kB / 0.8993 GB, free: 0.5703 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000542/0.02324, allocations: 374.8 kB / 0.8997 GB, free: 208 kB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.02324, allocations: 0 / 0.8997 GB, free: 208 kB / 0.8542 GB Notification: Performance of FrontEnd: time 1.122e-06/0.02324, allocations: 0 / 0.8997 GB, free: 208 kB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.81e-06/0.02325, allocations: 4 kB / 0.8997 GB, free: 204 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.0005896/0.02384, allocations: 0.5308 MB / 0.9002 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.02388, allocations: 12.03 kB / 0.9002 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.02402, allocations: 44.7 kB / 0.9003 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.0242, allocations: 164.2 kB / 0.9004 GB, free: 15.39 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.02421, allocations: 8.703 kB / 0.9004 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.02423, allocations: 20.38 kB / 0.9004 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003184/0.02455, allocations: 434.1 kB / 0.9009 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.02456, allocations: 4.188 kB / 0.9009 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.02458, allocations: 20.09 kB / 0.9009 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.033e-05/0.02461, allocations: 8 kB / 0.9009 GB, free: 14.83 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002373/0.02485, allocations: 300.3 kB / 0.9012 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007445/0.02559, allocations: 0.9948 MB / 0.9021 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.0258, allocations: 141.5 kB / 0.9023 GB, free: 13.33 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.193e-05/0.02586, allocations: 55.61 kB / 0.9023 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004665/0.02633, allocations: 0.5387 MB / 0.9029 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.02635, allocations: 37.39 kB / 0.9029 GB, free: 12.67 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.032e-06/0.02635, allocations: 0 / 0.9029 GB, free: 12.67 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0002209/0.02658, allocations: 137.4 kB / 0.903 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.0266, allocations: 51.41 kB / 0.9031 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003666/0.02697, allocations: 215.8 kB / 0.9033 GB, free: 12.24 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.02698, allocations: 29.7 kB / 0.9033 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.015e-05/0.02705, allocations: 190.8 kB / 0.9035 GB, free: 12.01 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.02708, allocations: 51.53 kB / 0.9035 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.915e-05/0.02713, allocations: 59.31 kB / 0.9036 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.02724, allocations: 0.504 MB / 0.9041 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.704e-05/0.02729, allocations: 23.97 kB / 0.9041 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.02739, allocations: 180.4 kB / 0.9043 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.02755, allocations: 225.7 kB / 0.9045 GB, free: 10.83 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.02755, allocations: 4 kB / 0.9045 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002006/0.02775, allocations: 209.2 kB / 0.9047 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.02776, allocations: 4 kB / 0.9047 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.02777, allocations: 4 kB / 0.9047 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.02778, allocations: 11.98 kB / 0.9047 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.0279, allocations: 55.92 kB / 0.9048 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.0279, allocations: 4 kB / 0.9048 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.693e-05/0.02796, allocations: 32.2 kB / 0.9048 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.02797, allocations: 16 kB / 0.9048 GB, free: 10.49 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 7.443e-05/0.02805, allocations: 176.5 kB / 0.905 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.02808, allocations: 15.89 kB / 0.905 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.02827, allocations: 149 kB / 0.9051 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.02828, allocations: 4 kB / 0.9052 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.02828, allocations: 0 / 0.9052 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.02829, allocations: 0 / 0.9052 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.02842, allocations: 164.5 kB / 0.9053 GB, free: 9.945 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.02842, allocations: 3.984 kB / 0.9053 GB, free: 9.941 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.814e-05/0.02848, allocations: 35.92 kB / 0.9053 GB, free: 9.906 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.02848, allocations: 4 kB / 0.9054 GB, free: 9.902 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.02849, allocations: 8 kB / 0.9054 GB, free: 9.895 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.02849, allocations: 3.938 kB / 0.9054 GB, free: 9.891 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.02849, allocations: 0 / 0.9054 GB, free: 9.891 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.02864, allocations: 263.7 kB / 0.9056 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.183e-05/0.02868, allocations: 35.86 kB / 0.9056 GB, free: 9.578 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.0287, allocations: 3.984 kB / 0.9057 GB, free: 9.574 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.99e-05/0.02878, allocations: 12 kB / 0.9057 GB, free: 9.562 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.94e-05/0.0288, allocations: 7.984 kB / 0.9057 GB, free: 9.555 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.02881, allocations: 19.98 kB / 0.9057 GB, free: 9.535 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.33e-05/0.02887, allocations: 153.4 kB / 0.9058 GB, free: 9.387 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.02887, allocations: 0 / 0.9058 GB, free: 9.387 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002532/0.02912, allocations: 79.81 kB / 0.9059 GB, free: 9.309 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.0002373/0.02936, allocations: 190 kB / 0.9061 GB, free: 9.113 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001618/0.02952, allocations: 107.9 kB / 0.9062 GB, free: 9.004 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.02952, allocations: 4 kB / 0.9062 GB, free: 9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.095e-05/0.02956, allocations: 43.61 kB / 0.9062 GB, free: 8.953 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.02981, allocations: 57.33 kB / 0.9063 GB, free: 8.898 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006705/0.03048, allocations: 317.8 kB / 0.9066 GB, free: 8.562 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.804e-05/0.03052, allocations: 71.98 kB / 0.9067 GB, free: 8.473 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.981e-05/0.03062, allocations: 49.2 kB / 0.9067 GB, free: 8.426 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.03065, allocations: 28.5 kB / 0.9067 GB, free: 8.398 MB / 0.8698 GB Notification: Performance of SimCode: time 6.71e-07/0.03065, allocations: 0 / 0.9067 GB, free: 8.398 MB / 0.8698 GB Notification: Performance of Templates: time 0.005282/0.03593, allocations: 3.84 MB / 0.9105 GB, free: 4.621 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.41501760808751]