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.0009936/0.0009936, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001074/0.001074, allocations: 161 kB / 24.17 MB, free: 328 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.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.933/1.933, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.323e-06/1.323e-06, allocations: 0 / 0.76 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.576e-05, allocations: 6.75 kB / 0.7601 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1273/0.1273, allocations: 131.4 MB / 0.8884 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.01962/0.147, allocations: 22.25 MB / 0.9101 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001616/0.1471, allocations: 0 / 0.9101 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.1474, allocations: 43.62 kB / 0.9101 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002727/0.1477, allocations: 103.3 kB / 0.9102 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01314/0.1608, allocations: 6.266 MB / 0.9164 GB, free: 6.125 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0003363/0.1612, allocations: 251.8 kB / 0.9166 GB, free: 5.879 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.868e-05/0.1612, allocations: 10.41 kB / 0.9166 GB, free: 5.871 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003073/0.1615, allocations: 187.4 kB / 0.9168 GB, free: 5.688 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.1616, allocations: 71.78 kB / 0.9169 GB, free: 5.617 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.1616, allocations: 8 kB / 0.9169 GB, free: 5.609 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01647/0.1781, allocations: 11.96 MB / 0.9286 GB, free: 9.629 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.1782, allocations: 39.89 kB / 0.9286 GB, free: 9.59 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.1783, allocations: 63.83 kB / 0.9286 GB, free: 9.527 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.01498/0.1933, allocations: 8.361 MB / 0.9368 GB, free: 1.148 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1933, allocations: 4 kB / 0.9368 GB, free: 1.145 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1933, allocations: 0 / 0.9368 GB, free: 1.145 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1933, allocations: 0 / 0.9368 GB, free: 1.145 MB / 0.8855 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.002953/0.1963, allocations: 1.142 MB / 0.9379 GB, free: 15.97 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.1963, allocations: 12.03 kB / 0.9379 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006892/0.197, allocations: 164.3 kB / 0.9381 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.1972, allocations: 157.6 kB / 0.9383 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.1972, allocations: 8.375 kB / 0.9383 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.1972, allocations: 24.38 kB / 0.9383 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006741/0.1979, allocations: 0.5969 MB / 0.9389 GB, free: 14.92 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.1979, allocations: 0 / 0.9389 GB, free: 14.92 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.1979, allocations: 12 kB / 0.9389 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.198, allocations: 7.938 kB / 0.9389 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005166/0.1985, allocations: 391.8 kB / 0.9393 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000582/0.199, allocations: 0.615 MB / 0.9399 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003944/0.1994, allocations: 228.5 kB / 0.9401 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.537e-05/0.1995, allocations: 44.84 kB / 0.9401 GB, free: 13.6 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04577/0.2453, allocations: 24.78 MB / 0.9643 GB, free: 4.781 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.2453, allocations: 38.56 kB / 0.9644 GB, free: 4.734 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=25): time 1.833e-06/0.2453, allocations: 0 / 0.9644 GB, free: 4.734 MB / 0.9167 GB Notification: Performance of matching and sorting (n=25): time 0.0009351/0.2462, allocations: 380 kB / 0.9647 GB, free: 4.359 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.2463, allocations: 55.41 kB / 0.9648 GB, free: 4.293 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.74e-05/0.2463, allocations: 138 kB / 0.9649 GB, free: 4.148 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.2464, allocations: 33.7 kB / 0.9649 GB, free: 4.109 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/0.2464, allocations: 104.6 kB / 0.965 GB, free: 4 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.246e-05/0.2465, allocations: 95.14 kB / 0.9651 GB, free: 3.906 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.408e-05/0.2466, allocations: 65.64 kB / 0.9652 GB, free: 3.836 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.192e-05/0.2466, allocations: 326.8 kB / 0.9655 GB, free: 3.508 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.323e-05/0.2467, allocations: 63.88 kB / 0.9656 GB, free: 3.445 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.2468, allocations: 113 kB / 0.9657 GB, free: 3.312 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.247, allocations: 194.2 kB / 0.9659 GB, free: 3.105 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.247, allocations: 0 / 0.9659 GB, free: 3.105 MB / 0.9167 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003332/0.2474, allocations: 240.9 kB / 0.9661 GB, free: 2.863 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.2474, allocations: 8 kB / 0.9661 GB, free: 2.855 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2474, allocations: 0 / 0.9661 GB, free: 2.855 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.2474, allocations: 4 kB / 0.9661 GB, free: 2.852 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.2476, allocations: 76.06 kB / 0.9662 GB, free: 2.777 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.2476, allocations: 11.94 kB / 0.9662 GB, free: 2.766 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.929e-05/0.2477, allocations: 23.81 kB / 0.9662 GB, free: 2.742 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.2477, allocations: 19.98 kB / 0.9662 GB, free: 2.723 MB / 0.9167 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.78e-05/0.2478, allocations: 128.6 kB / 0.9663 GB, free: 2.586 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.2479, allocations: 39.69 kB / 0.9664 GB, free: 2.547 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009831/0.2489, allocations: 1.358 MB / 0.9677 GB, free: 1.184 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.2489, allocations: 11.98 kB / 0.9677 GB, free: 1.172 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-06/0.2489, allocations: 0 / 0.9677 GB, free: 1.172 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.2489, allocations: 7.984 kB / 0.9677 GB, free: 1.164 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.2503, allocations: 1.737 MB / 0.9694 GB, free: 15.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.2503, allocations: 0 / 0.9694 GB, free: 15.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.2505, allocations: 59.88 kB / 0.9695 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.2505, allocations: 4 kB / 0.9695 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.2505, allocations: 8 kB / 0.9695 GB, free: 15.33 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.2505, allocations: 4 kB / 0.9695 GB, free: 15.32 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2505, allocations: 0 / 0.9695 GB, free: 15.32 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003601/0.2509, allocations: 445.5 kB / 0.9699 GB, free: 14.87 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 6.072e-05/0.2509, allocations: 51.66 kB / 0.97 GB, free: 14.82 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.2509, allocations: 4 kB / 0.97 GB, free: 14.82 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.651e-05/0.251, allocations: 11.98 kB / 0.97 GB, free: 14.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/0.2511, allocations: 19.97 kB / 0.97 GB, free: 14.79 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.2511, allocations: 4 kB / 0.97 GB, free: 14.78 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 2.409e-05/0.2511, allocations: 24.83 kB / 0.97 GB, free: 14.75 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5e-08/0.2511, allocations: 0 / 0.97 GB, free: 14.75 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003938/0.255, allocations: 1.723 MB / 0.9717 GB, free: 13.03 MB / 0.9323 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.005598/0.2606, allocations: 2.342 MB / 0.974 GB, free: 10.67 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0004302/0.2611, allocations: 219.7 kB / 0.9742 GB, free: 10.45 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/0.2611, allocations: 0 / 0.9742 GB, free: 10.45 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.2612, allocations: 119.4 kB / 0.9743 GB, free: 10.33 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.2616, allocations: 92.09 kB / 0.9744 GB, free: 10.24 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009607/0.2625, allocations: 0.5623 MB / 0.975 GB, free: 9.648 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.988e-05/0.2626, allocations: 98.83 kB / 0.9751 GB, free: 9.535 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003543/0.2629, allocations: 408.6 kB / 0.9754 GB, free: 9.133 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002526/0.2632, allocations: 157.2 kB / 0.9756 GB, free: 8.977 MB / 0.9323 GB Notification: Performance of SimCode: time 1.012e-06/0.2632, allocations: 0 / 0.9756 GB, free: 8.977 MB / 0.9323 GB Notification: Performance of Templates: time 0.06438/0.3276, allocations: 68.78 MB / 1.043 GB, free: 4.195 MB / 0.9948 GB " [Timeout remaining time 300] 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 -s gbode -gbm=radauIIA3 -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.974295237101614]