Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamProperties.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.001006/0.001006, allocations: 81.95 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001033/0.001033, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9766/0.9766, allocations: 177.1 MB / 203.7 MB, free: 5.508 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 2.339/2.339, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 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.Examples.SteamProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddhp|ddph|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamProperties") translateModel(Buildings.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddhp|ddph|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 0 / 0.8897 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.913e-05/3.154e-05, allocations: 6.312 kB / 0.8897 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.121/0.1211, allocations: 129.4 MB / 1.016 GB, free: 7.852 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.0199/0.1409, allocations: 21.99 MB / 1.038 GB, free: 1.789 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.1411, allocations: 4 kB / 1.038 GB, free: 1.785 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002762/0.1414, allocations: 43.64 kB / 1.038 GB, free: 1.742 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002884/0.1417, allocations: 99.28 kB / 1.038 GB, free: 1.645 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.01426/0.1559, allocations: 6.999 MB / 1.045 GB, free: 10.62 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0003622/0.1563, allocations: 255.8 kB / 1.045 GB, free: 10.38 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 4.496e-05/0.1563, allocations: 13.8 kB / 1.045 GB, free: 10.36 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003202/0.1567, allocations: 187.4 kB / 1.045 GB, free: 10.18 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.1568, allocations: 71.78 kB / 1.045 GB, free: 10.11 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.1568, allocations: 12 kB / 1.045 GB, free: 10.1 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5076/0.6644, allocations: 11.14 MB / 1.056 GB, free: 56.23 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.6645, allocations: 34.7 kB / 1.056 GB, free: 56.23 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.6646, allocations: 65.41 kB / 1.056 GB, free: 56.23 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0138/0.6784, allocations: 8.352 MB / 1.064 GB, free: 56.18 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.6784, allocations: 6 kB / 1.064 GB, free: 56.18 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.512e-06/0.6784, allocations: 0 / 1.064 GB, free: 56.18 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.6784, allocations: 0 / 1.064 GB, free: 56.18 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003593/0.682, allocations: 1.268 MB / 1.065 GB, free: 55.38 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.6821, allocations: 11.38 kB / 1.065 GB, free: 55.38 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000664/0.6827, allocations: 144.7 kB / 1.066 GB, free: 55.34 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.6829, allocations: 171.6 kB / 1.066 GB, free: 55.2 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.6829, allocations: 16.75 kB / 1.066 GB, free: 55.2 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.6829, allocations: 15.28 kB / 1.066 GB, free: 55.2 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006241/0.6836, allocations: 0.6011 MB / 1.066 GB, free: 54.85 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.6836, allocations: 4.5 kB / 1.066 GB, free: 54.85 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.6836, allocations: 10.34 kB / 1.066 GB, free: 54.85 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.6836, allocations: 2.406 kB / 1.066 GB, free: 54.85 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004887/0.6841, allocations: 429.9 kB / 1.067 GB, free: 54.85 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006042/0.6847, allocations: 0.8509 MB / 1.068 GB, free: 54.21 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005025/0.6852, allocations: 246.8 kB / 1.068 GB, free: 54.17 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.477e-05/0.6852, allocations: 49.86 kB / 1.068 GB, free: 54.16 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04721/0.7324, allocations: 19.44 MB / 1.087 GB, free: 52.85 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.7325, allocations: 48.05 kB / 1.087 GB, free: 52.8 MB / 1.01 GB Notification: Performance of pre-optimization done (n=25): time 1.864e-06/0.7325, allocations: 1.203 kB / 1.087 GB, free: 52.8 MB / 1.01 GB Notification: Performance of matching and sorting (n=25): time 0.001298/0.7338, allocations: 432.9 kB / 1.087 GB, free: 52.73 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.141e-05/0.7338, allocations: 58.44 kB / 1.087 GB, free: 52.67 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.31e-05/0.7339, allocations: 184.8 kB / 1.088 GB, free: 52.5 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.7339, allocations: 31.11 kB / 1.088 GB, free: 52.47 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 5.258e-05/0.7339, allocations: 157.5 kB / 1.088 GB, free: 52.32 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.497e-05/0.734, allocations: 93.2 kB / 1.088 GB, free: 52.27 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.7341, allocations: 86.14 kB / 1.088 GB, free: 52.24 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 5.741e-05/0.7342, allocations: 0.4934 MB / 1.088 GB, free: 51.75 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.7343, allocations: 76.41 kB / 1.088 GB, free: 51.75 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.7345, allocations: 148 kB / 1.089 GB, free: 51.67 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003337/0.7348, allocations: 235.5 kB / 1.089 GB, free: 51.59 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.7348, allocations: 1.219 kB / 1.089 GB, free: 51.59 MB / 1.01 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006326/0.7355, allocations: 320.3 kB / 1.089 GB, free: 51.53 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.7355, allocations: 9.781 kB / 1.089 GB, free: 51.53 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.7355, allocations: 2.031 kB / 1.089 GB, free: 51.53 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.7355, allocations: 2.344 kB / 1.089 GB, free: 51.53 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.7357, allocations: 81.12 kB / 1.089 GB, free: 51.53 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.7357, allocations: 3.062 kB / 1.089 GB, free: 51.53 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.295e-05/0.7358, allocations: 17.14 kB / 1.089 GB, free: 51.52 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.598e-05/0.7358, allocations: 23.94 kB / 1.089 GB, free: 51.52 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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): 30 * Array equations: 0 * 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 9.366e-05/0.7359, allocations: 176.3 kB / 1.089 GB, free: 51.36 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/0.7361, allocations: 43.8 kB / 1.089 GB, free: 51.33 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/0.7375, allocations: 1.37 MB / 1.091 GB, free: 51.19 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/0.7375, allocations: 12.72 kB / 1.091 GB, free: 51.19 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.7375, allocations: 0 / 1.091 GB, free: 51.19 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.7375, allocations: 2.844 kB / 1.091 GB, free: 51.19 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.7394, allocations: 1.973 MB / 1.093 GB, free: 50.67 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.7394, allocations: 0 / 1.093 GB, free: 50.67 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.7395, allocations: 58.42 kB / 1.093 GB, free: 50.67 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.758e-06/0.7395, allocations: 3.047 kB / 1.093 GB, free: 50.67 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.7395, allocations: 12.64 kB / 1.093 GB, free: 50.66 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.7395, allocations: 1.156 kB / 1.093 GB, free: 50.66 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.7396, allocations: 3.5 kB / 1.093 GB, free: 50.66 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000537/0.7401, allocations: 0.4894 MB / 1.093 GB, free: 50.43 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 9.068e-05/0.7402, allocations: 69.92 kB / 1.093 GB, free: 50.41 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.7402, allocations: 4.906 kB / 1.093 GB, free: 50.41 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.7403, allocations: 9.875 kB / 1.093 GB, free: 50.41 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.7404, allocations: 18.83 kB / 1.093 GB, free: 50.41 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.7404, allocations: 12.89 kB / 1.093 GB, free: 50.41 MB / 1.01 GB Notification: Performance of sorting global known variables: time 3.481e-05/0.7404, allocations: 133.6 kB / 1.094 GB, free: 50.29 MB / 1.01 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7404, allocations: 1.203 kB / 1.094 GB, free: 50.29 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.004704/0.7451, allocations: 1.721 MB / 1.095 GB, free: 50.05 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.007429/0.7526, allocations: 2.249 MB / 1.097 GB, free: 49.66 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006359/0.7532, allocations: 237.1 kB / 1.098 GB, free: 49.65 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.7532, allocations: 0 / 1.098 GB, free: 49.65 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.7534, allocations: 145.8 kB / 1.098 GB, free: 49.63 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004666/0.7539, allocations: 98.5 kB / 1.098 GB, free: 49.62 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008814/0.7547, allocations: 0.5488 MB / 1.098 GB, free: 49.36 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.334e-05/0.7548, allocations: 102.1 kB / 1.099 GB, free: 49.29 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005392/0.7554, allocations: 407.3 kB / 1.099 GB, free: 49.25 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002968/0.7556, allocations: 191 kB / 1.099 GB, free: 49.19 MB / 1.01 GB Notification: Performance of SimCode: time 1.162e-06/0.7556, allocations: 0 / 1.099 GB, free: 49.19 MB / 1.01 GB Notification: Performance of Templates: time 0.08033/0.836, allocations: 70.3 MB / 1.168 GB, free: 27.91 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamProperties.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_latest_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamProperties.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: 9.033880485687405]