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.001058/0.001058, allocations: 92.22 kB / 19.65 MB, free: 276 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.001199/0.001199, allocations: 169 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 1.01/1.01, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.216/2.216, allocations: 429.5 MB / 0.6732 GB, free: 4.039 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.382e-06/1.382e-06, allocations: 0 / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.2e-05, allocations: 5.266 kB / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1304/0.1304, allocations: 131.9 MB / 1.007 GB, free: 1.969 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.02069/0.1511, allocations: 22.31 MB / 1.029 GB, free: 11.59 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001854/0.1513, allocations: 0 / 1.029 GB, free: 11.59 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003474/0.1516, allocations: 47.58 kB / 1.029 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003318/0.1519, allocations: 103.3 kB / 1.029 GB, free: 11.44 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.01468/0.1666, allocations: 7 MB / 1.036 GB, free: 4.414 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0003721/0.167, allocations: 251.8 kB / 1.036 GB, free: 4.164 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.007e-05/0.167, allocations: 9.812 kB / 1.036 GB, free: 4.156 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004595/0.1675, allocations: 187.3 kB / 1.036 GB, free: 3.973 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.1676, allocations: 79.77 kB / 1.036 GB, free: 3.895 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.1677, allocations: 12 kB / 1.036 GB, free: 3.883 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01666/0.1843, allocations: 11.13 MB / 1.047 GB, free: 8.738 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.1844, allocations: 47.81 kB / 1.047 GB, free: 8.691 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.1846, allocations: 59.89 kB / 1.047 GB, free: 8.633 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.01647/0.201, allocations: 8.364 MB / 1.055 GB, free: 256 kB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.2011, allocations: 0 / 1.055 GB, free: 256 kB / 1.01 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2011, allocations: 0 / 1.055 GB, free: 256 kB / 1.01 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.2011, allocations: 0 / 1.055 GB, free: 256 kB / 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.473/0.6741, allocations: 1.258 MB / 1.057 GB, free: 68.36 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.6741, allocations: 8.312 kB / 1.057 GB, free: 68.36 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007423/0.6748, allocations: 151.5 kB / 1.057 GB, free: 68.32 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.675, allocations: 170 kB / 1.057 GB, free: 68.19 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.6751, allocations: 12.59 kB / 1.057 GB, free: 68.19 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.6751, allocations: 21.36 kB / 1.057 GB, free: 68.19 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007471/0.6758, allocations: 0.6352 MB / 1.058 GB, free: 67.84 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.6759, allocations: 0 / 1.058 GB, free: 67.84 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.6759, allocations: 12.09 kB / 1.058 GB, free: 67.84 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.6759, allocations: 6.688 kB / 1.058 GB, free: 67.84 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006133/0.6765, allocations: 491.5 kB / 1.058 GB, free: 67.84 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007326/0.6772, allocations: 0.8714 MB / 1.059 GB, free: 67.18 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004946/0.6777, allocations: 265.7 kB / 1.059 GB, free: 67.14 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.843e-05/0.6778, allocations: 60.83 kB / 1.059 GB, free: 67.13 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04486/0.7227, allocations: 23.54 MB / 1.082 GB, free: 65.49 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.7227, allocations: 40.45 kB / 1.082 GB, free: 65.45 MB / 1.01 GB Notification: Performance of pre-optimization done (n=25): time 2.014e-06/0.7227, allocations: 0 / 1.082 GB, free: 65.45 MB / 1.01 GB Notification: Performance of matching and sorting (n=25): time 0.001339/0.724, allocations: 465.4 kB / 1.083 GB, free: 65.38 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.7241, allocations: 56.7 kB / 1.083 GB, free: 65.32 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.689e-05/0.7242, allocations: 182.5 kB / 1.083 GB, free: 65.15 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.7242, allocations: 34.89 kB / 1.083 GB, free: 65.12 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/0.7242, allocations: 162.4 kB / 1.083 GB, free: 64.97 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.145e-05/0.7243, allocations: 86.34 kB / 1.083 GB, free: 64.91 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.7244, allocations: 88.36 kB / 1.083 GB, free: 64.89 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 6.278e-05/0.7245, allocations: 0.4921 MB / 1.084 GB, free: 64.4 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.7246, allocations: 87.73 kB / 1.084 GB, free: 64.4 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.7248, allocations: 153.9 kB / 1.084 GB, free: 64.33 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003581/0.7252, allocations: 252.7 kB / 1.084 GB, free: 64.25 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.7252, allocations: 0 / 1.084 GB, free: 64.25 MB / 1.01 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000665/0.7258, allocations: 354.1 kB / 1.085 GB, free: 64.18 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.7259, allocations: 5.875 kB / 1.085 GB, free: 64.18 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.7259, allocations: 2.312 kB / 1.085 GB, free: 64.18 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.137e-05/0.7259, allocations: 6.5 kB / 1.085 GB, free: 64.18 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.7261, allocations: 82.95 kB / 1.085 GB, free: 64.18 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.7261, allocations: 6.578 kB / 1.085 GB, free: 64.18 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.658e-05/0.7262, allocations: 17.11 kB / 1.085 GB, free: 64.18 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.059e-05/0.7263, allocations: 28.38 kB / 1.085 GB, free: 64.17 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 0.0001015/0.7264, allocations: 172.4 kB / 1.085 GB, free: 64.01 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.7265, allocations: 44.47 kB / 1.085 GB, free: 63.98 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001639/0.7282, allocations: 1.601 MB / 1.086 GB, free: 63.86 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/0.7282, allocations: 13.62 kB / 1.086 GB, free: 63.86 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.7282, allocations: 0 / 1.086 GB, free: 63.86 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.7282, allocations: 2.922 kB / 1.086 GB, free: 63.86 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002002/0.7302, allocations: 2.236 MB / 1.089 GB, free: 63.31 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.7302, allocations: 4.375 kB / 1.089 GB, free: 63.31 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.7304, allocations: 55.16 kB / 1.089 GB, free: 63.31 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.7304, allocations: 0 / 1.089 GB, free: 63.31 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.7304, allocations: 8.375 kB / 1.089 GB, free: 63.31 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.7304, allocations: 2.062 kB / 1.089 GB, free: 63.31 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.614e-06/0.7304, allocations: 0 / 1.089 GB, free: 63.31 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005608/0.7309, allocations: 0.5382 MB / 1.089 GB, free: 63.08 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 8.834e-05/0.731, allocations: 62.05 kB / 1.089 GB, free: 63.05 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.7311, allocations: 6.734 kB / 1.089 GB, free: 63.05 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.7312, allocations: 16.67 kB / 1.089 GB, free: 63.05 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.7312, allocations: 17.5 kB / 1.089 GB, free: 63.05 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.7312, allocations: 13.41 kB / 1.089 GB, free: 63.05 MB / 1.01 GB Notification: Performance of sorting global known variables: time 4.17e-05/0.7313, allocations: 138.3 kB / 1.09 GB, free: 62.93 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.7313, allocations: 0 / 1.09 GB, free: 62.93 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.004343/0.7356, allocations: 1.72 MB / 1.091 GB, free: 62.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.008044/0.7437, allocations: 2.201 MB / 1.093 GB, free: 62.32 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006631/0.7443, allocations: 274 kB / 1.094 GB, free: 62.3 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.7443, allocations: 1.188 kB / 1.094 GB, free: 62.3 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002347/0.7446, allocations: 161.4 kB / 1.094 GB, free: 62.29 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005033/0.7451, allocations: 102 kB / 1.094 GB, free: 62.27 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.7463, allocations: 0.5689 MB / 1.094 GB, free: 62.01 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.935e-05/0.7463, allocations: 100.9 kB / 1.094 GB, free: 61.94 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005205/0.7468, allocations: 407.7 kB / 1.095 GB, free: 61.91 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.747, allocations: 47.95 kB / 1.095 GB, free: 61.9 MB / 1.01 GB Notification: Performance of SimCode: time 1.422e-06/0.747, allocations: 0 / 1.095 GB, free: 61.9 MB / 1.01 GB Notification: Performance of Templates: time 0.06506/0.812, allocations: 61.67 MB / 1.155 GB, free: 46.78 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: 8.843536077067256]