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.001442/0.001442, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001669/0.001669, allocations: 161 kB / 24.17 MB, free: 332 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.024/1.024, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.855/1.855, allocations: 377.9 MB / 0.624 GB, free: 8.371 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.713e-06/1.713e-06, allocations: 0 / 0.76 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.851e-05, allocations: 5.406 kB / 0.76 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1326/0.1327, allocations: 131.4 MB / 0.8883 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.01971/0.1524, allocations: 22.24 MB / 0.91 GB, free: 12.69 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/0.1525, allocations: 4 kB / 0.91 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.1528, allocations: 55.55 kB / 0.9101 GB, free: 12.63 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002849/0.1531, allocations: 95.31 kB / 0.9102 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0154/0.1685, allocations: 7.035 MB / 0.917 GB, free: 5.477 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0005735/0.1691, allocations: 259.7 kB / 0.9173 GB, free: 5.223 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.221e-05/0.1692, allocations: 14.41 kB / 0.9173 GB, free: 5.211 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003396/0.1695, allocations: 183.4 kB / 0.9175 GB, free: 5.031 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.1696, allocations: 71.78 kB / 0.9175 GB, free: 4.961 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.1697, allocations: 12 kB / 0.9175 GB, free: 4.949 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01585/0.1855, allocations: 11.13 MB / 0.9284 GB, free: 9.809 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.1856, allocations: 43.81 kB / 0.9284 GB, free: 9.766 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.1857, allocations: 63.89 kB / 0.9285 GB, free: 9.703 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.01562/0.2014, allocations: 8.361 MB / 0.9367 GB, free: 1.324 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.2014, allocations: 4 kB / 0.9367 GB, free: 1.32 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2014, allocations: 0 / 0.9367 GB, free: 1.32 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.2014, allocations: 0 / 0.9367 GB, free: 1.32 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.003037/0.2044, allocations: 1.146 MB / 0.9378 GB, free: 148 kB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.2045, allocations: 8.031 kB / 0.9378 GB, free: 140 kB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006626/0.2051, allocations: 164.3 kB / 0.938 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.2053, allocations: 161.5 kB / 0.9381 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.2053, allocations: 12.38 kB / 0.9381 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.2053, allocations: 16.38 kB / 0.9381 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007094/0.2061, allocations: 0.6008 MB / 0.9387 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2061, allocations: 0 / 0.9387 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.2061, allocations: 8 kB / 0.9387 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.2061, allocations: 4 kB / 0.9387 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005147/0.2066, allocations: 395.8 kB / 0.9391 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005894/0.2072, allocations: 0.615 MB / 0.9397 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003897/0.2076, allocations: 224.5 kB / 0.9399 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.627e-05/0.2076, allocations: 51.83 kB / 0.94 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04377/0.2514, allocations: 24.78 MB / 0.9642 GB, free: 4.957 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.2514, allocations: 38.56 kB / 0.9642 GB, free: 4.91 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=25): time 1.683e-06/0.2514, allocations: 3.938 kB / 0.9642 GB, free: 4.906 MB / 0.9167 GB Notification: Performance of matching and sorting (n=25): time 0.0008706/0.2523, allocations: 377 kB / 0.9646 GB, free: 4.531 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.2523, allocations: 55.41 kB / 0.9646 GB, free: 4.465 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.033e-05/0.2524, allocations: 142.2 kB / 0.9648 GB, free: 4.316 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.2524, allocations: 29.7 kB / 0.9648 GB, free: 4.281 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/0.2525, allocations: 108.6 kB / 0.9649 GB, free: 4.168 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.2526, allocations: 95.14 kB / 0.965 GB, free: 4.074 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-05/0.2527, allocations: 61.64 kB / 0.9651 GB, free: 4.008 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.839e-05/0.2528, allocations: 326.8 kB / 0.9654 GB, free: 3.68 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.097e-05/0.2529, allocations: 55.94 kB / 0.9654 GB, free: 3.625 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.253, allocations: 121 kB / 0.9655 GB, free: 3.488 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.2532, allocations: 198 kB / 0.9657 GB, free: 3.273 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2532, allocations: 0 / 0.9657 GB, free: 3.273 MB / 0.9167 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003107/0.2535, allocations: 235.5 kB / 0.9659 GB, free: 3.039 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.2535, allocations: 7.984 kB / 0.966 GB, free: 3.031 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.2535, allocations: 0 / 0.966 GB, free: 3.031 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.2535, allocations: 4 kB / 0.966 GB, free: 3.027 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.2537, allocations: 68.03 kB / 0.966 GB, free: 2.961 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.2537, allocations: 8 kB / 0.966 GB, free: 2.953 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.953e-05/0.2537, allocations: 19.83 kB / 0.966 GB, free: 2.934 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.2538, allocations: 11.98 kB / 0.9661 GB, free: 2.922 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 8.539e-05/0.2539, allocations: 128.6 kB / 0.9662 GB, free: 2.785 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.254, allocations: 47.67 kB / 0.9662 GB, free: 2.738 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009336/0.2549, allocations: 1.366 MB / 0.9676 GB, free: 1.367 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.2549, allocations: 11.98 kB / 0.9676 GB, free: 1.355 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.2549, allocations: 0 / 0.9676 GB, free: 1.355 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.2549, allocations: 4 kB / 0.9676 GB, free: 1.352 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.2561, allocations: 1.737 MB / 0.9693 GB, free: 15.59 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.2561, allocations: 0 / 0.9693 GB, free: 15.59 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.2562, allocations: 47.95 kB / 0.9693 GB, free: 15.54 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.2563, allocations: 4 kB / 0.9693 GB, free: 15.54 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.2563, allocations: 7.984 kB / 0.9693 GB, free: 15.53 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.2563, allocations: 4 kB / 0.9693 GB, free: 15.52 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.2563, allocations: 4 kB / 0.9693 GB, free: 15.52 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.2566, allocations: 445.4 kB / 0.9698 GB, free: 15.07 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 6.006e-05/0.2567, allocations: 59.64 kB / 0.9698 GB, free: 15.01 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.2567, allocations: 7.938 kB / 0.9698 GB, free: 15 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.194e-05/0.2568, allocations: 8 kB / 0.9698 GB, free: 14.99 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.614e-05/0.2568, allocations: 15.97 kB / 0.9698 GB, free: 14.98 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.2568, allocations: 11.98 kB / 0.9699 GB, free: 14.96 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 2.102e-05/0.2568, allocations: 16.84 kB / 0.9699 GB, free: 14.95 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.2568, allocations: 0 / 0.9699 GB, free: 14.95 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003746/0.2606, allocations: 1.727 MB / 0.9716 GB, free: 13.21 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.00607/0.2667, allocations: 2.346 MB / 0.9739 GB, free: 10.85 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0003924/0.2671, allocations: 213.3 kB / 0.9741 GB, free: 10.64 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.854e-06/0.2671, allocations: 0 / 0.9741 GB, free: 10.64 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.2672, allocations: 115.4 kB / 0.9742 GB, free: 10.52 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.2676, allocations: 92.02 kB / 0.9743 GB, free: 10.43 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009284/0.2685, allocations: 0.5546 MB / 0.9748 GB, free: 9.848 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.111e-05/0.2686, allocations: 102.8 kB / 0.9749 GB, free: 9.73 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003534/0.2689, allocations: 400.7 kB / 0.9753 GB, free: 9.336 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000247/0.2692, allocations: 161.2 kB / 0.9754 GB, free: 9.176 MB / 0.9323 GB Notification: Performance of SimCode: time 1.523e-06/0.2692, allocations: 0 / 0.9754 GB, free: 9.176 MB / 0.9323 GB Notification: Performance of Templates: time 0.0627/0.3319, allocations: 68.79 MB / 1.043 GB, free: 4.387 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 -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.555267702788115]