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.000801/0.000801, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007979/0.0007979, allocations: 177.9 kB / 23.21 MB, free: 1.352 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 0.9066/0.9066, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.741/1.741, allocations: 377.8 MB / 0.6228 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] 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.1.|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.1.|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.362e-06/1.362e-06, allocations: 0 / 0.9822 GB, free: 2.121 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.766e-05, allocations: 4.812 kB / 0.9822 GB, free: 2.117 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.5351/0.5351, allocations: 119.6 MB / 1.099 GB, free: 31.74 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01462/0.5498, allocations: 20.23 MB / 1.119 GB, free: 19.22 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.16e-05/0.5498, allocations: 0 / 1.119 GB, free: 19.22 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.5501, allocations: 46.86 kB / 1.119 GB, free: 19.2 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002353/0.5503, allocations: 101 kB / 1.119 GB, free: 19.13 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.01114/0.5615, allocations: 7.004 MB / 1.126 GB, free: 16.45 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.5617, allocations: 262.1 kB / 1.126 GB, free: 16.33 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.802e-05/0.5617, allocations: 11.36 kB / 1.126 GB, free: 16.33 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002664/0.562, allocations: 194.6 kB / 1.126 GB, free: 16.25 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.5621, allocations: 78.47 kB / 1.126 GB, free: 16.23 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.5621, allocations: 8.312 kB / 1.126 GB, free: 16.23 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0133/0.5754, allocations: 11.13 MB / 1.137 GB, free: 13.71 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 6.755e-05/0.5755, allocations: 34.39 kB / 1.137 GB, free: 13.7 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 6.905e-05/0.5756, allocations: 69.73 kB / 1.137 GB, free: 13.67 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.008363/0.5839, allocations: 8.361 MB / 1.145 GB, free: 11.19 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.5839, allocations: 0 / 1.145 GB, free: 11.19 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5839, allocations: 1.219 kB / 1.145 GB, free: 11.19 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.5839, allocations: 0 / 1.145 GB, free: 11.19 MB / 0.9948 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.001865/0.5858, allocations: 1.166 MB / 1.147 GB, free: 10.42 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.5858, allocations: 9.188 kB / 1.147 GB, free: 10.42 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005365/0.5864, allocations: 88.41 kB / 1.147 GB, free: 10.41 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.5866, allocations: 170.1 kB / 1.147 GB, free: 10.25 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.5866, allocations: 9.781 kB / 1.147 GB, free: 10.25 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.5867, allocations: 14.78 kB / 1.147 GB, free: 10.24 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006774/0.5873, allocations: 0.6733 MB / 1.148 GB, free: 9.793 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.5873, allocations: 5.203 kB / 1.148 GB, free: 9.789 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.5874, allocations: 10.28 kB / 1.148 GB, free: 9.781 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.5874, allocations: 7.906 kB / 1.148 GB, free: 9.777 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006691/0.588, allocations: 0.6058 MB / 1.148 GB, free: 9.629 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005821/0.5886, allocations: 0.6932 MB / 1.149 GB, free: 9.074 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004518/0.5891, allocations: 232.1 kB / 1.149 GB, free: 8.996 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.202e-05/0.5891, allocations: 61.88 kB / 1.149 GB, free: 8.973 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03962/0.6288, allocations: 23.36 MB / 1.172 GB, free: 0.5312 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.6288, allocations: 37.5 kB / 1.172 GB, free: 500 kB / 0.9948 GB Notification: Performance of pre-optimization done (n=25): time 1.573e-06/0.6288, allocations: 0 / 1.172 GB, free: 500 kB / 0.9948 GB Notification: Performance of matching and sorting (n=25): time 0.0009355/0.6297, allocations: 421.4 kB / 1.172 GB, free: 268 kB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.125e-05/0.6297, allocations: 54.28 kB / 1.172 GB, free: 204 kB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.934e-05/0.6298, allocations: 132.1 kB / 1.173 GB, free: 80 kB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.6298, allocations: 33.7 kB / 1.173 GB, free: 40 kB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 6.864e-05/0.6299, allocations: 116.2 kB / 1.173 GB, free: 15.93 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.753e-05/0.6299, allocations: 89.81 kB / 1.173 GB, free: 15.85 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.637e-05/0.63, allocations: 79.28 kB / 1.173 GB, free: 15.8 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.505e-05/0.6301, allocations: 324 kB / 1.173 GB, free: 15.48 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.6302, allocations: 82.11 kB / 1.173 GB, free: 15.44 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.6303, allocations: 134.4 kB / 1.173 GB, free: 15.34 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.6306, allocations: 222.3 kB / 1.174 GB, free: 15.21 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6306, allocations: 0 / 1.174 GB, free: 15.21 MB / 1.01 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004555/0.6311, allocations: 303 kB / 1.174 GB, free: 15.05 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.6311, allocations: 4.969 kB / 1.174 GB, free: 15.05 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.6311, allocations: 2.562 kB / 1.174 GB, free: 15.05 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.6311, allocations: 3.188 kB / 1.174 GB, free: 15.05 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.6313, allocations: 82.41 kB / 1.174 GB, free: 15.02 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.6313, allocations: 6.969 kB / 1.174 GB, free: 15.01 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.362e-05/0.6313, allocations: 20.8 kB / 1.174 GB, free: 15 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.6314, allocations: 28.12 kB / 1.174 GB, free: 14.98 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 8.469e-05/0.6315, allocations: 123.2 kB / 1.174 GB, free: 14.86 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.34e-05/0.6315, allocations: 19.84 kB / 1.174 GB, free: 14.85 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.633, allocations: 2.49 MB / 1.177 GB, free: 13.52 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.633, allocations: 10.17 kB / 1.177 GB, free: 13.52 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.633, allocations: 2.969 kB / 1.177 GB, free: 13.52 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.633, allocations: 3.984 kB / 1.177 GB, free: 13.51 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/0.635, allocations: 3.544 MB / 1.18 GB, free: 11.41 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.635, allocations: 0 / 1.18 GB, free: 11.41 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.6351, allocations: 54.52 kB / 1.18 GB, free: 11.39 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.6351, allocations: 2.906 kB / 1.18 GB, free: 11.39 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.6351, allocations: 6.344 kB / 1.18 GB, free: 11.39 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.6351, allocations: 0 / 1.18 GB, free: 11.39 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.6351, allocations: 0 / 1.18 GB, free: 11.39 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004496/0.6356, allocations: 0.5611 MB / 1.181 GB, free: 11.04 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 6.69e-05/0.6357, allocations: 63.73 kB / 1.181 GB, free: 10.99 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.6357, allocations: 10.77 kB / 1.181 GB, free: 10.98 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.6358, allocations: 9.156 kB / 1.181 GB, free: 10.98 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/0.6358, allocations: 24.19 kB / 1.181 GB, free: 10.96 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.6358, allocations: 19.47 kB / 1.181 GB, free: 10.95 MB / 1.01 GB Notification: Performance of sorting global known variables: time 3.608e-05/0.6359, allocations: 94.36 kB / 1.181 GB, free: 10.87 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.6359, allocations: 0 / 1.181 GB, free: 10.87 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.00382/0.6397, allocations: 1.715 MB / 1.183 GB, free: 10.52 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.004253/0.6439, allocations: 2.202 MB / 1.185 GB, free: 9.734 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003602/0.6443, allocations: 321.4 kB / 1.185 GB, free: 9.59 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6443, allocations: 2.531 kB / 1.185 GB, free: 9.59 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.6444, allocations: 189.9 kB / 1.185 GB, free: 9.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.6447, allocations: 61 kB / 1.185 GB, free: 9.469 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.6458, allocations: 0.6457 MB / 1.186 GB, free: 9.035 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.498e-05/0.6459, allocations: 152.7 kB / 1.186 GB, free: 8.93 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.544e-05/0.646, allocations: 57.12 kB / 1.186 GB, free: 8.902 MB / 1.01 GB Notification: Performance of SimCode: time 4.71e-07/0.646, allocations: 0 / 1.186 GB, free: 8.902 MB / 1.01 GB Notification: Performance of Templates: time 0.0256/0.6716, allocations: 33.14 MB / 1.218 GB, free: 7.762 MB / 1.042 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.55450925976038]