Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001032/0.001032, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.00102/0.00102, allocations: 169 kB / 24.28 MB, free: 276 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.088/1.088, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.939/1.939, allocations: 377.8 MB / 0.6239 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Media.Examples.SteamProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.8115 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.089e-05, allocations: 3.078 kB / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1446/0.1446, allocations: 131.6 MB / 0.94 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0194/0.164, allocations: 22.27 MB / 0.9618 GB, free: 7.707 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.1641, allocations: 0 / 0.9618 GB, free: 7.707 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0002778/0.1644, allocations: 47.62 kB / 0.9618 GB, free: 7.66 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002696/0.1646, allocations: 95.34 kB / 0.9619 GB, free: 7.566 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0112/0.1758, allocations: 6.995 MB / 0.9687 GB, free: 0.5469 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003181/0.1762, allocations: 263.7 kB / 0.969 GB, free: 296 kB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 5.039e-05/0.1762, allocations: 17.8 kB / 0.969 GB, free: 280 kB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002805/0.1765, allocations: 187.4 kB / 0.9692 GB, free: 92 kB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.1766, allocations: 71.78 kB / 0.9692 GB, free: 20 kB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.1766, allocations: 15.94 kB / 0.9693 GB, free: 4 kB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01227/0.1889, allocations: 11.12 MB / 0.9801 GB, free: 4.867 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 7.403e-05/0.189, allocations: 39.88 kB / 0.9802 GB, free: 4.828 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 7.264e-05/0.189, allocations: 63.84 kB / 0.9802 GB, free: 4.766 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.008642/0.1977, allocations: 8.353 MB / 0.9884 GB, free: 12.39 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1977, allocations: 0 / 0.9884 GB, free: 12.39 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1977, allocations: 0 / 0.9884 GB, free: 12.39 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.1977, allocations: 0 / 0.9884 GB, free: 12.39 MB / 0.948 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.001943/0.1996, allocations: 1.266 MB / 0.9896 GB, free: 11.09 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.1997, allocations: 12.03 kB / 0.9896 GB, free: 11.07 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007467/0.2004, allocations: 156.2 kB / 0.9898 GB, free: 10.92 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.2006, allocations: 168.4 kB / 0.9899 GB, free: 10.73 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.2006, allocations: 12.12 kB / 0.9899 GB, free: 10.72 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.2007, allocations: 28.38 kB / 0.99 GB, free: 10.69 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007818/0.2014, allocations: 0.6358 MB / 0.9906 GB, free: 9.984 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.2014, allocations: 4 kB / 0.9906 GB, free: 9.98 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.2015, allocations: 4 kB / 0.9906 GB, free: 9.977 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.2015, allocations: 4 kB / 0.9906 GB, free: 9.973 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006562/0.2021, allocations: 499.8 kB / 0.9911 GB, free: 9.484 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007128/0.2028, allocations: 0.871 MB / 0.9919 GB, free: 8.562 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000513/0.2034, allocations: 266.7 kB / 0.9922 GB, free: 8.289 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.379e-05/0.2034, allocations: 59.66 kB / 0.9922 GB, free: 8.227 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04176/0.2452, allocations: 23.54 MB / 1.015 GB, free: 0.6406 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.2452, allocations: 45.38 kB / 1.015 GB, free: 0.5859 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=25): time 1.512e-06/0.2452, allocations: 0 / 1.015 GB, free: 0.5859 MB / 0.9636 GB Notification: Performance of matching and sorting (n=25): time 0.001152/0.2464, allocations: 459.3 kB / 1.016 GB, free: 136 kB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.2464, allocations: 55.41 kB / 1.016 GB, free: 68 kB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.2465, allocations: 193.9 kB / 1.016 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.2465, allocations: 25.7 kB / 1.016 GB, free: 15.83 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 6.374e-05/0.2466, allocations: 163.3 kB / 1.016 GB, free: 15.66 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.2467, allocations: 83.22 kB / 1.016 GB, free: 15.58 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-05/0.2467, allocations: 87.28 kB / 1.016 GB, free: 15.49 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.2468, allocations: 0.4962 MB / 1.017 GB, free: 14.98 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.247, allocations: 83.92 kB / 1.017 GB, free: 14.9 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.2471, allocations: 150 kB / 1.017 GB, free: 14.73 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/0.2474, allocations: 259.8 kB / 1.017 GB, free: 14.45 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2474, allocations: 3.938 kB / 1.017 GB, free: 14.45 MB / 0.9792 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005307/0.248, allocations: 344.9 kB / 1.018 GB, free: 14.1 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.248, allocations: 4 kB / 1.018 GB, free: 14.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.248, allocations: 3.938 kB / 1.018 GB, free: 14.09 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.248, allocations: 4 kB / 1.018 GB, free: 14.09 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.2482, allocations: 80.09 kB / 1.018 GB, free: 14.01 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.2482, allocations: 11.94 kB / 1.018 GB, free: 14 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.514e-05/0.2483, allocations: 15.89 kB / 1.018 GB, free: 13.98 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/0.2483, allocations: 27.97 kB / 1.018 GB, free: 13.96 MB / 0.9792 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.0001121/0.2484, allocations: 172.5 kB / 1.018 GB, free: 13.78 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.2486, allocations: 43.66 kB / 1.018 GB, free: 13.73 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.2499, allocations: 1.595 MB / 1.019 GB, free: 12.12 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.2499, allocations: 15.97 kB / 1.02 GB, free: 12.11 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.2499, allocations: 0 / 1.02 GB, free: 12.11 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.2499, allocations: 4 kB / 1.02 GB, free: 12.11 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001915/0.2519, allocations: 2.236 MB / 1.022 GB, free: 9.781 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.2519, allocations: 0 / 1.022 GB, free: 9.781 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.252, allocations: 55.89 kB / 1.022 GB, free: 9.727 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.252, allocations: 3.984 kB / 1.022 GB, free: 9.723 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.252, allocations: 8 kB / 1.022 GB, free: 9.715 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.252, allocations: 0 / 1.022 GB, free: 9.715 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.252, allocations: 0 / 1.022 GB, free: 9.715 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005264/0.2526, allocations: 0.5279 MB / 1.022 GB, free: 9.168 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/0.2526, allocations: 71.56 kB / 1.022 GB, free: 9.098 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.2527, allocations: 8 kB / 1.022 GB, free: 9.09 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.192e-05/0.2528, allocations: 8 kB / 1.022 GB, free: 9.082 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.2528, allocations: 19.97 kB / 1.022 GB, free: 9.062 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.2528, allocations: 15.98 kB / 1.022 GB, free: 9.047 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 6.012e-05/0.2529, allocations: 142.2 kB / 1.023 GB, free: 8.91 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.2529, allocations: 4 kB / 1.023 GB, free: 8.906 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.003569/0.2564, allocations: 1.715 MB / 1.024 GB, free: 7.188 MB / 0.9792 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.00581/0.2623, allocations: 2.209 MB / 1.026 GB, free: 4.965 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0004754/0.2627, allocations: 281.8 kB / 1.027 GB, free: 4.684 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2627, allocations: 320 / 1.027 GB, free: 4.684 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.2629, allocations: 165.5 kB / 1.027 GB, free: 4.52 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005014/0.2635, allocations: 91.83 kB / 1.027 GB, free: 4.43 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.2646, allocations: 0.5632 MB / 1.027 GB, free: 3.832 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.126e-05/0.2647, allocations: 102.8 kB / 1.028 GB, free: 3.711 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0005399/0.2652, allocations: 400.7 kB / 1.028 GB, free: 3.32 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.2653, allocations: 44.47 kB / 1.028 GB, free: 3.277 MB / 0.9792 GB Notification: Performance of SimCode: time 1.462e-06/0.2653, allocations: 3.938 kB / 1.028 GB, free: 3.273 MB / 0.9792 GB Notification: Performance of Templates: time 0.3796/0.6449, allocations: 61.66 MB / 1.088 GB, free: 263 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.SteamProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_12_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.461553114000708]