Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.SteamProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001881/0.001881, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002198/0.002198, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.6 MB / 249.4 MB, free: 3.008 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.779/2.779, allocations: 443.5 MB / 0.7304 GB, free: 13.87 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Media.Examples.SteamProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 67.89 kB / 1.059 GB, free: 380 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3641, allocations: 160.7 MB / 1.216 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.9208/1.285, allocations: 136.5 MB / 1.349 GB, free: 0.5586 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03523/1.32, allocations: 22.81 MB / 1.372 GB, free: 1.254 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002638/1.32, allocations: 5.438 kB / 1.372 GB, free: 1.25 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004077/1.321, allocations: 52.06 kB / 1.372 GB, free: 1.223 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004723/1.321, allocations: 92.42 kB / 1.372 GB, free: 1.164 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.03532/1.357, allocations: 6.975 MB / 1.379 GB, free: 13.13 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007231/1.357, allocations: 249.7 kB / 1.379 GB, free: 13 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.8e-05/1.357, allocations: 7.438 kB / 1.379 GB, free: 13 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004988/1.358, allocations: 138.7 kB / 1.379 GB, free: 12.92 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002507/1.358, allocations: 89.81 kB / 1.379 GB, free: 12.87 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.268e-05/1.358, allocations: 8.75 kB / 1.379 GB, free: 12.87 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04122/1.399, allocations: 11.67 MB / 1.391 GB, free: 6.723 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001748/1.399, allocations: 37.23 kB / 1.391 GB, free: 6.695 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000269/1.4, allocations: 84.44 kB / 1.391 GB, free: 6.648 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.03355/1.433, allocations: 6.491 MB / 1.397 GB, free: 2.508 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 1.042e-05/1.433, allocations: 0 / 1.397 GB, free: 2.508 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.226e-06/1.433, allocations: 0 / 1.397 GB, free: 2.508 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.952e-05/1.433, allocations: 0 / 1.397 GB, free: 2.508 MB / 1.061 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.00664/1.44, allocations: 1.246 MB / 1.398 GB, free: 1.578 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/1.44, allocations: 7.656 kB / 1.398 GB, free: 1.578 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002217/1.442, allocations: 84.89 kB / 1.398 GB, free: 1.543 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000534/1.443, allocations: 231 kB / 1.399 GB, free: 1.293 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/1.443, allocations: 10.03 kB / 1.399 GB, free: 1.289 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.334e-05/1.443, allocations: 18.03 kB / 1.399 GB, free: 1.281 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001989/1.445, allocations: 454.1 kB / 1.399 GB, free: 0.9922 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/1.445, allocations: 2.688 kB / 1.399 GB, free: 0.9922 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.715e-05/1.445, allocations: 10.12 kB / 1.399 GB, free: 0.9844 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/1.445, allocations: 2.781 kB / 1.399 GB, free: 0.9844 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002127/1.447, allocations: 0.6036 MB / 1.4 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001991/1.449, allocations: 0.8808 MB / 1.4 GB, free: 15.83 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/1.45, allocations: 239.6 kB / 1.401 GB, free: 15.7 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/1.451, allocations: 63.31 kB / 1.401 GB, free: 15.67 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1064/1.557, allocations: 35.42 MB / 1.435 GB, free: 12.02 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.608e-05/1.557, allocations: 38.56 kB / 1.435 GB, free: 11.98 MB / 1.107 GB Notification: Performance of pre-optimization done (n=25): time 2.194e-06/1.557, allocations: 0 / 1.435 GB, free: 11.98 MB / 1.107 GB Notification: Performance of matching and sorting (n=25): time 0.001867/1.559, allocations: 424.6 kB / 1.436 GB, free: 11.56 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/1.559, allocations: 55.41 kB / 1.436 GB, free: 11.49 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/1.559, allocations: 143.8 kB / 1.436 GB, free: 11.34 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/1.559, allocations: 29.7 kB / 1.436 GB, free: 11.31 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 8.786e-05/1.559, allocations: 112.5 kB / 1.436 GB, free: 11.19 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 8.144e-05/1.56, allocations: 91.22 kB / 1.436 GB, free: 11.1 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/1.56, allocations: 69.67 kB / 1.436 GB, free: 11.03 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001624/1.56, allocations: 334.8 kB / 1.437 GB, free: 10.69 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/1.56, allocations: 79.95 kB / 1.437 GB, free: 10.61 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/1.56, allocations: 130.6 kB / 1.437 GB, free: 10.47 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004795/1.561, allocations: 226.7 kB / 1.437 GB, free: 10.23 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.561, allocations: 0 / 1.437 GB, free: 10.23 MB / 1.107 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000818/1.562, allocations: 303 kB / 1.437 GB, free: 9.93 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/1.562, allocations: 4 kB / 1.437 GB, free: 9.926 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/1.562, allocations: 0.5 kB / 1.437 GB, free: 9.926 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/1.562, allocations: 4 kB / 1.437 GB, free: 9.922 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/1.562, allocations: 79.88 kB / 1.437 GB, free: 9.844 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/1.562, allocations: 4.156 kB / 1.437 GB, free: 9.84 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/1.562, allocations: 26.34 kB / 1.437 GB, free: 9.816 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-05/1.562, allocations: 35.91 kB / 1.437 GB, free: 9.781 MB / 1.107 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.0001391/1.562, allocations: 125.7 kB / 1.438 GB, free: 9.648 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/1.562, allocations: 19.91 kB / 1.438 GB, free: 9.629 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002895/1.565, allocations: 2.342 MB / 1.44 GB, free: 7.277 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/1.565, allocations: 11.98 kB / 1.44 GB, free: 7.266 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.565, allocations: 0 / 1.44 GB, free: 7.266 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/1.565, allocations: 7.984 kB / 1.44 GB, free: 7.258 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003989/1.569, allocations: 3.431 MB / 1.443 GB, free: 3.711 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/1.569, allocations: 0 / 1.443 GB, free: 3.711 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002913/1.57, allocations: 59.89 kB / 1.443 GB, free: 3.652 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/1.57, allocations: 0 / 1.443 GB, free: 3.652 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/1.57, allocations: 11.94 kB / 1.443 GB, free: 3.641 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/1.57, allocations: 0 / 1.443 GB, free: 3.641 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/1.57, allocations: 4 kB / 1.443 GB, free: 3.637 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009466/1.571, allocations: 0.5467 MB / 1.444 GB, free: 3.074 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/1.571, allocations: 140.7 kB / 1.444 GB, free: 2.918 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/1.571, allocations: 11.94 kB / 1.444 GB, free: 2.906 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/1.571, allocations: 8 kB / 1.444 GB, free: 2.898 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/1.571, allocations: 23.91 kB / 1.444 GB, free: 2.875 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/1.571, allocations: 18.25 kB / 1.444 GB, free: 2.859 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001068/1.571, allocations: 109.4 kB / 1.444 GB, free: 2.754 MB / 1.107 GB Notification: Performance of sort global known variables: time 9e-08/1.571, allocations: 0 / 1.444 GB, free: 2.754 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.006605/1.578, allocations: 1.707 MB / 1.446 GB, free: 1.043 MB / 1.107 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.01088/1.589, allocations: 1.948 MB / 1.448 GB, free: 15.09 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0008628/1.59, allocations: 316.3 kB / 1.448 GB, free: 14.78 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.59, allocations: 0 / 1.448 GB, free: 14.78 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003209/1.59, allocations: 192.5 kB / 1.448 GB, free: 14.59 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006131/1.591, allocations: 61.12 kB / 1.448 GB, free: 14.53 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/1.592, allocations: 0.6416 MB / 1.449 GB, free: 13.86 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004345/1.592, allocations: 0.7622 MB / 1.45 GB, free: 13.07 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0006972/1.593, allocations: 405 kB / 1.45 GB, free: 12.68 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/1.593, allocations: 47.41 kB / 1.45 GB, free: 12.63 MB / 1.123 GB Notification: Performance of SimCode: time 1.333e-06/1.593, allocations: 0 / 1.45 GB, free: 12.63 MB / 1.123 GB Notification: Performance of Templates: time 0.0976/1.691, allocations: 59.63 MB / 1.508 GB, free: 0.957 MB / 1.17 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Media.Examples.SteamProperties.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_10_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 13.738117435015738]