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.001028/0.001028, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.001059/0.001059, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.019/1.019, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.285/2.285, allocations: 429.5 MB / 0.6743 GB, free: 3.918 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.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 1.744e-06/1.744e-06, allocations: 0 / 0.8794 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.847e-05/2.021e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1227/0.1227, allocations: 129.4 MB / 1.006 GB, free: 4.176 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.02207/0.1448, allocations: 21.97 MB / 1.027 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.1449, allocations: 0 / 1.027 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003195/0.1452, allocations: 47.62 kB / 1.027 GB, free: 14.09 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.1455, allocations: 103.3 kB / 1.027 GB, free: 13.99 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.01485/0.1604, allocations: 6.999 MB / 1.034 GB, free: 6.969 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0004101/0.1608, allocations: 263.7 kB / 1.034 GB, free: 6.707 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.04e-05/0.1608, allocations: 9.812 kB / 1.034 GB, free: 6.699 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003711/0.1612, allocations: 179.4 kB / 1.035 GB, free: 6.523 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.1614, allocations: 87.75 kB / 1.035 GB, free: 6.438 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.723e-05/0.1614, allocations: 8 kB / 1.035 GB, free: 6.43 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01839/0.1798, allocations: 11.13 MB / 1.046 GB, free: 11.28 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 8.899e-05/0.1799, allocations: 39.81 kB / 1.046 GB, free: 11.24 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 9.441e-05/0.18, allocations: 63.91 kB / 1.046 GB, free: 11.18 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.01448/0.1945, allocations: 8.36 MB / 1.054 GB, free: 2.801 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1945, allocations: 0 / 1.054 GB, free: 2.801 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1945, allocations: 0 / 1.054 GB, free: 2.801 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.1945, allocations: 0 / 1.054 GB, free: 2.801 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.003343/0.1978, allocations: 1.266 MB / 1.055 GB, free: 1.492 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.1979, allocations: 12.03 kB / 1.055 GB, free: 1.48 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000933/0.1988, allocations: 152.3 kB / 1.055 GB, free: 1.332 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.199, allocations: 168.4 kB / 1.055 GB, free: 1.141 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.199, allocations: 8.375 kB / 1.055 GB, free: 1.133 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.199, allocations: 20.38 kB / 1.055 GB, free: 1.113 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007172/0.1998, allocations: 0.6072 MB / 1.056 GB, free: 444 kB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.108e-06/0.1998, allocations: 4 kB / 1.056 GB, free: 440 kB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.1998, allocations: 8 kB / 1.056 GB, free: 432 kB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.1998, allocations: 4 kB / 1.056 GB, free: 428 kB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5394/0.7392, allocations: 428.9 kB / 1.056 GB, free: 69.96 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008714/0.7401, allocations: 0.8515 MB / 1.057 GB, free: 69.34 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006261/0.7407, allocations: 246.4 kB / 1.058 GB, free: 69.3 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.781e-05/0.7407, allocations: 51.05 kB / 1.058 GB, free: 69.29 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0449/0.7856, allocations: 19.33 MB / 1.076 GB, free: 68.19 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.7857, allocations: 47.89 kB / 1.076 GB, free: 68.14 MB / 1.01 GB Notification: Performance of pre-optimization done (n=25): time 2.014e-06/0.7857, allocations: 0 / 1.076 GB, free: 68.14 MB / 1.01 GB Notification: Performance of matching and sorting (n=25): time 0.001086/0.7868, allocations: 426.3 kB / 1.077 GB, free: 68.11 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.7868, allocations: 57.84 kB / 1.077 GB, free: 68.04 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.143e-05/0.7869, allocations: 190.3 kB / 1.077 GB, free: 67.88 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.7869, allocations: 32.52 kB / 1.077 GB, free: 67.84 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/0.7869, allocations: 159.7 kB / 1.077 GB, free: 67.7 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.411e-05/0.787, allocations: 93.22 kB / 1.077 GB, free: 67.65 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.481e-05/0.7871, allocations: 92.5 kB / 1.077 GB, free: 67.62 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 5.776e-05/0.7871, allocations: 0.4952 MB / 1.078 GB, free: 67.13 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.7872, allocations: 73.62 kB / 1.078 GB, free: 67.13 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.7874, allocations: 137.2 kB / 1.078 GB, free: 67.06 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/0.7876, allocations: 231.7 kB / 1.078 GB, free: 66.99 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.7876, allocations: 1.312 kB / 1.078 GB, free: 66.99 MB / 1.01 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004774/0.7881, allocations: 319.7 kB / 1.079 GB, free: 66.94 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.7881, allocations: 8.719 kB / 1.079 GB, free: 66.94 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.7881, allocations: 1.719 kB / 1.079 GB, free: 66.94 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.7881, allocations: 8.828 kB / 1.079 GB, free: 66.94 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.7883, allocations: 79.62 kB / 1.079 GB, free: 66.94 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.7883, allocations: 5.672 kB / 1.079 GB, free: 66.94 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.146e-05/0.7884, allocations: 18.2 kB / 1.079 GB, free: 66.93 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/0.7884, allocations: 26.05 kB / 1.079 GB, free: 66.93 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 8.44e-05/0.7885, allocations: 166.8 kB / 1.079 GB, free: 66.77 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.7886, allocations: 51.14 kB / 1.079 GB, free: 66.76 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.79, allocations: 1.369 MB / 1.08 GB, free: 66.64 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.79, allocations: 10.95 kB / 1.08 GB, free: 66.64 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.79, allocations: 2.141 kB / 1.08 GB, free: 66.64 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.79, allocations: 3.094 kB / 1.08 GB, free: 66.64 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.7916, allocations: 1.979 MB / 1.082 GB, free: 66.12 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.7916, allocations: 0.9688 kB / 1.082 GB, free: 66.12 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.7918, allocations: 55.58 kB / 1.082 GB, free: 66.12 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.7918, allocations: 2.219 kB / 1.082 GB, free: 66.12 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.7918, allocations: 6.797 kB / 1.082 GB, free: 66.12 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.7918, allocations: 5.906 kB / 1.082 GB, free: 66.12 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7918, allocations: 0 / 1.082 GB, free: 66.12 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004683/0.7922, allocations: 0.4891 MB / 1.083 GB, free: 65.91 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 6.727e-05/0.7923, allocations: 65.95 kB / 1.083 GB, free: 65.89 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.7923, allocations: 4.719 kB / 1.083 GB, free: 65.89 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.898e-05/0.7924, allocations: 18.94 kB / 1.083 GB, free: 65.89 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.7924, allocations: 15.42 kB / 1.083 GB, free: 65.89 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.7925, allocations: 12.64 kB / 1.083 GB, free: 65.89 MB / 1.01 GB Notification: Performance of sorting global known variables: time 3.218e-05/0.7925, allocations: 137 kB / 1.083 GB, free: 65.77 MB / 1.01 GB Notification: Performance of sort global known variables: time 2e-07/0.7925, allocations: 0 / 1.083 GB, free: 65.77 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.005066/0.7976, allocations: 1.72 MB / 1.085 GB, free: 65.7 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.007296/0.8049, allocations: 2.241 MB / 1.087 GB, free: 65.32 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005149/0.8054, allocations: 240.3 kB / 1.087 GB, free: 65.3 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.8054, allocations: 1.594 kB / 1.087 GB, free: 65.3 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.8055, allocations: 148.1 kB / 1.087 GB, free: 65.29 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.806, allocations: 98.81 kB / 1.087 GB, free: 65.27 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009235/0.8069, allocations: 0.5495 MB / 1.088 GB, free: 65.02 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.008e-05/0.807, allocations: 99.7 kB / 1.088 GB, free: 64.95 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003977/0.8074, allocations: 409.5 kB / 1.088 GB, free: 64.92 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000278/0.8076, allocations: 195.9 kB / 1.089 GB, free: 64.85 MB / 1.01 GB Notification: Performance of SimCode: time 1.874e-06/0.8076, allocations: 0 / 1.089 GB, free: 64.85 MB / 1.01 GB Notification: Performance of Templates: time 0.08859/0.8962, allocations: 70.39 MB / 1.157 GB, free: 47.12 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: 10.938333371188492]