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.001662/0.001662, allocations: 116.6 kB / 17.13 MB, free: 6.027 MB / 14.72 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.00195/0.00195, allocations: 208.7 kB / 20.1 MB, free: 3.074 MB / 14.72 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.474/1.474, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.904/2.904, allocations: 0.49 GB / 0.7923 GB, free: 1.336 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 70.23 kB / 1.15 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9481/0.9502, allocations: 176.1 MB / 1.322 GB, free: 25.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1983/1.148, allocations: 139.4 MB / 1.458 GB, free: 3.699 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.03208/1.181, allocations: 22.81 MB / 1.48 GB, free: 2.348 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002314/1.181, allocations: 0 / 1.48 GB, free: 2.348 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0003383/1.181, allocations: 48.45 kB / 1.48 GB, free: 2.309 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003767/1.182, allocations: 94.8 kB / 1.48 GB, free: 2.23 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.02174/1.203, allocations: 6.97 MB / 1.487 GB, free: 13.51 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0005295/1.204, allocations: 254.6 kB / 1.487 GB, free: 13.38 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 5.039e-05/1.204, allocations: 5.531 kB / 1.488 GB, free: 13.38 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003848/1.204, allocations: 148.5 kB / 1.488 GB, free: 13.29 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/1.204, allocations: 94.58 kB / 1.488 GB, free: 13.24 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/1.204, allocations: 12.41 kB / 1.488 GB, free: 13.23 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0263/1.231, allocations: 11.69 MB / 1.499 GB, free: 3.891 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001373/1.231, allocations: 35.84 kB / 1.499 GB, free: 3.855 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000204/1.231, allocations: 83.64 kB / 1.499 GB, free: 3.773 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01936/1.25, allocations: 6.505 MB / 1.506 GB, free: 13.25 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/1.25, allocations: 0 / 1.506 GB, free: 13.25 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.984e-06/1.25, allocations: 0 / 1.506 GB, free: 13.25 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.857e-06/1.25, allocations: 4 kB / 1.506 GB, free: 13.25 MB / 1.186 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.004448/1.255, allocations: 1.242 MB / 1.507 GB, free: 11.95 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/1.255, allocations: 15.98 kB / 1.507 GB, free: 11.94 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/1.256, allocations: 88.75 kB / 1.507 GB, free: 11.85 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/1.256, allocations: 228.1 kB / 1.507 GB, free: 11.59 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/1.256, allocations: 12.12 kB / 1.507 GB, free: 11.58 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/1.257, allocations: 16 kB / 1.507 GB, free: 11.56 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/1.258, allocations: 457.9 kB / 1.508 GB, free: 11.1 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/1.258, allocations: 3.938 kB / 1.508 GB, free: 11.09 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/1.258, allocations: 8 kB / 1.508 GB, free: 11.09 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/1.258, allocations: 4 kB / 1.508 GB, free: 11.08 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/1.259, allocations: 0.5893 MB / 1.508 GB, free: 10.49 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/1.26, allocations: 0.8862 MB / 1.509 GB, free: 9.52 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008684/1.261, allocations: 240.4 kB / 1.509 GB, free: 9.277 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/1.261, allocations: 64.83 kB / 1.509 GB, free: 9.211 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09574/1.357, allocations: 36.53 MB / 1.545 GB, free: 1.371 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/1.357, allocations: 34.56 kB / 1.545 GB, free: 1.328 MB / 1.217 GB Notification: Performance of pre-optimization done (n=25): time 2.024e-06/1.357, allocations: 3.938 kB / 1.545 GB, free: 1.324 MB / 1.217 GB Notification: Performance of matching and sorting (n=25): time 0.001874/1.359, allocations: 428.4 kB / 1.545 GB, free: 0.9023 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/1.359, allocations: 55.41 kB / 1.546 GB, free: 0.8359 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/1.359, allocations: 139.7 kB / 1.546 GB, free: 0.6914 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/1.359, allocations: 33.7 kB / 1.546 GB, free: 0.6523 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 8.432e-05/1.359, allocations: 108.5 kB / 1.546 GB, free: 0.5391 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 7.95e-05/1.359, allocations: 87.27 kB / 1.546 GB, free: 464 kB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/1.359, allocations: 77.66 kB / 1.546 GB, free: 380 kB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001468/1.36, allocations: 330.8 kB / 1.546 GB, free: 40 kB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/1.36, allocations: 83.95 kB / 1.546 GB, free: 15.96 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000269/1.36, allocations: 126.3 kB / 1.546 GB, free: 15.82 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004888/1.361, allocations: 225.8 kB / 1.547 GB, free: 15.58 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.361, allocations: 0 / 1.547 GB, free: 15.58 MB / 1.232 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008371/1.361, allocations: 297.9 kB / 1.547 GB, free: 15.28 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/1.361, allocations: 8 kB / 1.547 GB, free: 15.27 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/1.361, allocations: 0 / 1.547 GB, free: 15.27 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/1.361, allocations: 4 kB / 1.547 GB, free: 15.27 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/1.362, allocations: 79.88 kB / 1.547 GB, free: 15.19 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/1.362, allocations: 4.156 kB / 1.547 GB, free: 15.19 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/1.362, allocations: 31.7 kB / 1.547 GB, free: 15.16 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/1.362, allocations: 23.98 kB / 1.547 GB, free: 15.13 MB / 1.232 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.0001566/1.362, allocations: 128.2 kB / 1.547 GB, free: 15 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/1.362, allocations: 19.89 kB / 1.547 GB, free: 14.98 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002607/1.365, allocations: 2.334 MB / 1.55 GB, free: 12.62 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/1.365, allocations: 15.97 kB / 1.55 GB, free: 12.61 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.365, allocations: 0 / 1.55 GB, free: 12.61 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/1.365, allocations: 11.94 kB / 1.55 GB, free: 12.6 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003607/1.369, allocations: 3.427 MB / 1.553 GB, free: 9.062 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/1.369, allocations: 0 / 1.553 GB, free: 9.062 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000287/1.369, allocations: 59.89 kB / 1.553 GB, free: 9.004 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.575e-06/1.369, allocations: 4 kB / 1.553 GB, free: 9 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/1.369, allocations: 15.92 kB / 1.553 GB, free: 8.984 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/1.369, allocations: 0 / 1.553 GB, free: 8.984 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.369, allocations: 0 / 1.553 GB, free: 8.984 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000852/1.37, allocations: 0.5428 MB / 1.554 GB, free: 8.418 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/1.37, allocations: 148.6 kB / 1.554 GB, free: 8.254 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/1.37, allocations: 7.938 kB / 1.554 GB, free: 8.246 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/1.37, allocations: 15.98 kB / 1.554 GB, free: 8.23 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/1.37, allocations: 19.92 kB / 1.554 GB, free: 8.211 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/1.37, allocations: 15.98 kB / 1.554 GB, free: 8.195 MB / 1.232 GB Notification: Performance of sorting global known variables: time 8.898e-05/1.37, allocations: 105 kB / 1.554 GB, free: 8.094 MB / 1.232 GB Notification: Performance of sort global known variables: time 7.1e-08/1.37, allocations: 0 / 1.554 GB, free: 8.094 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.004674/1.375, allocations: 1.719 MB / 1.556 GB, free: 6.371 MB / 1.232 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.008305/1.383, allocations: 1.959 MB / 1.557 GB, free: 4.398 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0007567/1.384, allocations: 309 kB / 1.558 GB, free: 4.098 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.384, allocations: 0 / 1.558 GB, free: 4.098 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.000305/1.384, allocations: 193.4 kB / 1.558 GB, free: 3.91 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005965/1.385, allocations: 72.19 kB / 1.558 GB, free: 3.84 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/1.386, allocations: 0.6784 MB / 1.559 GB, free: 3.129 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/1.386, allocations: 0.7622 MB / 1.559 GB, free: 2.344 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/1.387, allocations: 51.41 kB / 1.559 GB, free: 2.293 MB / 1.232 GB Notification: Performance of SimCode: time 4.71e-07/1.387, allocations: 4 kB / 1.559 GB, free: 2.289 MB / 1.232 GB Notification: Performance of Templates: time 0.05166/1.438, allocations: 32.96 MB / 1.592 GB, free: 1.293 MB / 1.264 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/jenkins1/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: 14.72559629099851]