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.001401/0.001401, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001236/0.001236, allocations: 173 kB / 23.36 MB, free: 1.133 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.032/1.032, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.471/2.471, allocations: 438.8 MB / 0.6827 GB, free: 13.54 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.003e-06/2.003e-06, allocations: 0.7656 kB / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.826e-05/3.027e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1431/0.1432, allocations: 131.4 MB / 0.9669 GB, free: 10.2 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.02114/0.1643, allocations: 22.26 MB / 0.9887 GB, free: 3.867 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00017/0.1645, allocations: 4 kB / 0.9887 GB, free: 3.863 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.1648, allocations: 43.64 kB / 0.9887 GB, free: 3.82 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002596/0.165, allocations: 99.28 kB / 0.9888 GB, free: 3.723 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.01333/0.1784, allocations: 6.255 MB / 0.9949 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003723/0.1787, allocations: 259.7 kB / 0.9952 GB, free: 13.18 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.971e-05/0.1788, allocations: 14.41 kB / 0.9952 GB, free: 13.17 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003072/0.1791, allocations: 179.4 kB / 0.9954 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.1792, allocations: 79.78 kB / 0.9954 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.1792, allocations: 8 kB / 0.9954 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01751/0.1967, allocations: 11.96 MB / 1.007 GB, free: 0.9297 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.1968, allocations: 43.83 kB / 1.007 GB, free: 0.8867 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.197, allocations: 63.88 kB / 1.007 GB, free: 0.8242 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.01712/0.2141, allocations: 8.353 MB / 1.015 GB, free: 8.453 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.2141, allocations: 0 / 1.015 GB, free: 8.453 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2141, allocations: 0 / 1.015 GB, free: 8.453 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.2141, allocations: 0 / 1.015 GB, free: 8.453 MB / 0.9792 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.002838/0.2169, allocations: 1.149 MB / 1.016 GB, free: 7.273 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.217, allocations: 12.03 kB / 1.017 GB, free: 7.262 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007757/0.2178, allocations: 160.3 kB / 1.017 GB, free: 7.105 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.218, allocations: 161.5 kB / 1.017 GB, free: 6.922 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.218, allocations: 12.38 kB / 1.017 GB, free: 6.91 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.2181, allocations: 20.38 kB / 1.017 GB, free: 6.891 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008612/0.2189, allocations: 0.5937 MB / 1.017 GB, free: 6.227 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.2189, allocations: 0 / 1.017 GB, free: 6.227 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.219, allocations: 8 kB / 1.017 GB, free: 6.219 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.219, allocations: 4 kB / 1.017 GB, free: 6.215 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006281/0.2196, allocations: 400.3 kB / 1.018 GB, free: 5.824 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008412/0.2204, allocations: 0.6267 MB / 1.018 GB, free: 5.168 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004808/0.2209, allocations: 218.3 kB / 1.019 GB, free: 4.945 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.571e-05/0.221, allocations: 36.84 kB / 1.019 GB, free: 4.906 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04641/0.2674, allocations: 24.79 MB / 1.043 GB, free: 12.08 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.2674, allocations: 34.56 kB / 1.043 GB, free: 12.04 MB / 1.01 GB Notification: Performance of pre-optimization done (n=25): time 1.883e-06/0.2674, allocations: 0 / 1.043 GB, free: 12.04 MB / 1.01 GB Notification: Performance of matching and sorting (n=25): time 0.0009762/0.2684, allocations: 383.8 kB / 1.043 GB, free: 11.66 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.2684, allocations: 59.34 kB / 1.043 GB, free: 11.59 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.983e-05/0.2685, allocations: 129.7 kB / 1.043 GB, free: 11.45 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.2685, allocations: 29.7 kB / 1.043 GB, free: 11.41 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 4.841e-05/0.2686, allocations: 116.5 kB / 1.044 GB, free: 11.3 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/0.2686, allocations: 87.16 kB / 1.044 GB, free: 11.21 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.097e-05/0.2687, allocations: 73.62 kB / 1.044 GB, free: 11.13 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.363e-05/0.2688, allocations: 322.8 kB / 1.044 GB, free: 10.81 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.186e-05/0.2689, allocations: 59.94 kB / 1.044 GB, free: 10.75 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.269, allocations: 109 kB / 1.044 GB, free: 10.62 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.2692, allocations: 199.6 kB / 1.044 GB, free: 10.41 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2692, allocations: 0 / 1.044 GB, free: 10.41 MB / 1.01 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003317/0.2695, allocations: 232.7 kB / 1.045 GB, free: 10.18 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.2695, allocations: 4 kB / 1.045 GB, free: 10.18 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.2695, allocations: 4 kB / 1.045 GB, free: 10.17 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.2695, allocations: 3.938 kB / 1.045 GB, free: 10.17 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.2697, allocations: 79.91 kB / 1.045 GB, free: 10.09 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2697, allocations: 7.938 kB / 1.045 GB, free: 10.08 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.88e-05/0.2698, allocations: 23.78 kB / 1.045 GB, free: 10.06 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.2698, allocations: 15.98 kB / 1.045 GB, free: 10.04 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.028e-05/0.2699, allocations: 128.8 kB / 1.045 GB, free: 9.906 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.27, allocations: 43.62 kB / 1.045 GB, free: 9.863 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.2711, allocations: 1.369 MB / 1.046 GB, free: 8.484 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.2711, allocations: 11.97 kB / 1.046 GB, free: 8.473 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.2711, allocations: 0 / 1.046 GB, free: 8.473 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.2711, allocations: 3.984 kB / 1.046 GB, free: 8.469 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.2725, allocations: 1.729 MB / 1.048 GB, free: 6.711 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.2725, allocations: 0 / 1.048 GB, free: 6.711 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.2726, allocations: 67.88 kB / 1.048 GB, free: 6.645 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.2727, allocations: 0 / 1.048 GB, free: 6.645 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.2727, allocations: 12 kB / 1.048 GB, free: 6.633 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.2727, allocations: 0 / 1.048 GB, free: 6.633 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2727, allocations: 0 / 1.048 GB, free: 6.633 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003865/0.2731, allocations: 440.4 kB / 1.048 GB, free: 6.188 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 6.267e-05/0.2731, allocations: 51.59 kB / 1.049 GB, free: 6.137 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.2731, allocations: 8 kB / 1.049 GB, free: 6.129 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.714e-05/0.2732, allocations: 11.98 kB / 1.049 GB, free: 6.117 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/0.2733, allocations: 19.91 kB / 1.049 GB, free: 6.098 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.2733, allocations: 16 kB / 1.049 GB, free: 6.082 MB / 1.01 GB Notification: Performance of sorting global known variables: time 2.326e-05/0.2733, allocations: 20.83 kB / 1.049 GB, free: 6.059 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.2733, allocations: 0 / 1.049 GB, free: 6.059 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.005583/0.2789, allocations: 1.723 MB / 1.05 GB, free: 4.332 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.009613/0.2885, allocations: 2.34 MB / 1.053 GB, free: 1.969 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004546/0.2889, allocations: 205.2 kB / 1.053 GB, free: 1.766 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/0.289, allocations: 0 / 1.053 GB, free: 1.766 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.2891, allocations: 126.7 kB / 1.053 GB, free: 1.641 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.2895, allocations: 94.28 kB / 1.053 GB, free: 1.551 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009067/0.2904, allocations: 0.5663 MB / 1.054 GB, free: 0.957 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.848e-05/0.2904, allocations: 98.81 kB / 1.054 GB, free: 0.8398 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000359/0.2908, allocations: 400.7 kB / 1.054 GB, free: 460 kB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002559/0.2911, allocations: 153.2 kB / 1.054 GB, free: 308 kB / 1.01 GB Notification: Performance of SimCode: time 1.803e-06/0.2911, allocations: 0 / 1.054 GB, free: 308 kB / 1.01 GB Notification: Performance of Templates: time 0.4826/0.7737, allocations: 68.77 MB / 1.121 GB, free: 59.61 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 -s gbode -gbm=radauIIA3 -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.948139145039022]