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.001525/0.001525, allocations: 80.83 kB / 19.18 MB, free: 2.527 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.001682/0.001682, allocations: 166.4 kB / 22.46 MB, free: 5.355 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.512/1.512, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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 2.845/2.845, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] 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 2.815e-06/2.815e-06, allocations: 3.938 kB / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.85e-05/4.132e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1648/0.1648, allocations: 119.7 MB / 1.098 GB, free: 3.844 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03133/0.1961, allocations: 20.23 MB / 1.118 GB, free: 15.54 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002336/0.1964, allocations: 4 kB / 1.118 GB, free: 15.54 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003427/0.1967, allocations: 51.61 kB / 1.118 GB, free: 15.49 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003811/0.1971, allocations: 99.23 kB / 1.118 GB, free: 15.39 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.02122/0.2183, allocations: 7.006 MB / 1.125 GB, free: 8.395 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005194/0.2188, allocations: 263.7 kB / 1.125 GB, free: 8.137 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.686e-05/0.2189, allocations: 5.812 kB / 1.125 GB, free: 8.133 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004381/0.2193, allocations: 187.4 kB / 1.125 GB, free: 7.949 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.2195, allocations: 71.78 kB / 1.126 GB, free: 7.879 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.422e-05/0.2195, allocations: 8 kB / 1.126 GB, free: 7.871 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.7904/1.01, allocations: 11.13 MB / 1.136 GB, free: 52.4 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/1.01, allocations: 37.81 kB / 1.136 GB, free: 52.4 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001624/1.01, allocations: 69.69 kB / 1.137 GB, free: 52.4 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01637/1.027, allocations: 8.361 MB / 1.145 GB, free: 52.34 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/1.027, allocations: 0 / 1.145 GB, free: 52.34 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.442e-06/1.027, allocations: 1.094 kB / 1.145 GB, free: 52.34 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.311e-06/1.027, allocations: 1.062 kB / 1.145 GB, free: 52.34 MB / 1.076 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.004354/1.031, allocations: 1.166 MB / 1.146 GB, free: 51.63 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/1.031, allocations: 12.34 kB / 1.146 GB, free: 51.63 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/1.032, allocations: 86.52 kB / 1.146 GB, free: 51.62 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/1.032, allocations: 167.6 kB / 1.146 GB, free: 51.49 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/1.032, allocations: 13.09 kB / 1.146 GB, free: 51.49 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/1.032, allocations: 17.75 kB / 1.146 GB, free: 51.49 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/1.033, allocations: 0.6665 MB / 1.147 GB, free: 51.17 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/1.033, allocations: 3.938 kB / 1.147 GB, free: 51.17 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/1.033, allocations: 7.031 kB / 1.147 GB, free: 51.17 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/1.034, allocations: 8.562 kB / 1.147 GB, free: 51.17 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/1.035, allocations: 0.6072 MB / 1.147 GB, free: 51.17 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008238/1.035, allocations: 0.6925 MB / 1.148 GB, free: 50.71 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007499/1.036, allocations: 229.7 kB / 1.148 GB, free: 50.68 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.667e-05/1.036, allocations: 66.02 kB / 1.148 GB, free: 50.68 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08843/1.125, allocations: 23.36 MB / 1.171 GB, free: 49.09 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/1.125, allocations: 36.81 kB / 1.171 GB, free: 49.05 MB / 1.076 GB Notification: Performance of pre-optimization done (n=25): time 1.853e-06/1.125, allocations: 0 / 1.171 GB, free: 49.05 MB / 1.076 GB Notification: Performance of matching and sorting (n=25): time 0.001849/1.127, allocations: 424.7 kB / 1.172 GB, free: 49 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/1.127, allocations: 57.38 kB / 1.172 GB, free: 48.94 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/1.127, allocations: 129.3 kB / 1.172 GB, free: 48.84 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/1.127, allocations: 31.52 kB / 1.172 GB, free: 48.8 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.023e-05/1.127, allocations: 111.3 kB / 1.172 GB, free: 48.7 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.215e-05/1.127, allocations: 92.41 kB / 1.172 GB, free: 48.64 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/1.127, allocations: 74.59 kB / 1.172 GB, free: 48.63 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.153e-05/1.127, allocations: 326.4 kB / 1.172 GB, free: 48.32 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/1.127, allocations: 84.19 kB / 1.172 GB, free: 48.31 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/1.128, allocations: 126.5 kB / 1.173 GB, free: 48.27 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004621/1.128, allocations: 221.6 kB / 1.173 GB, free: 48.21 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/1.128, allocations: 0 / 1.173 GB, free: 48.21 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008112/1.129, allocations: 298.8 kB / 1.173 GB, free: 48.17 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/1.129, allocations: 5.719 kB / 1.173 GB, free: 48.17 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/1.129, allocations: 1.344 kB / 1.173 GB, free: 48.17 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/1.129, allocations: 7.438 kB / 1.173 GB, free: 48.17 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003156/1.129, allocations: 81.64 kB / 1.173 GB, free: 48.17 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/1.129, allocations: 6.922 kB / 1.173 GB, free: 48.17 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/1.129, allocations: 23.88 kB / 1.173 GB, free: 48.16 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.575e-05/1.129, allocations: 25.94 kB / 1.173 GB, free: 48.16 MB / 1.076 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.0001217/1.129, allocations: 127.5 kB / 1.173 GB, free: 48.04 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/1.13, allocations: 24.97 kB / 1.173 GB, free: 48.03 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002721/1.132, allocations: 2.483 MB / 1.176 GB, free: 47.91 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.556e-05/1.132, allocations: 13.69 kB / 1.176 GB, free: 47.91 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/1.132, allocations: 8.875 kB / 1.176 GB, free: 47.91 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/1.132, allocations: 2.578 kB / 1.176 GB, free: 47.91 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003395/1.136, allocations: 3.536 MB / 1.179 GB, free: 47.43 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/1.136, allocations: 2.016 kB / 1.179 GB, free: 47.43 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/1.136, allocations: 54.48 kB / 1.179 GB, free: 47.43 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/1.136, allocations: 1.469 kB / 1.179 GB, free: 47.43 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/1.136, allocations: 7.156 kB / 1.179 GB, free: 47.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/1.136, allocations: 1.312 kB / 1.179 GB, free: 47.43 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.136, allocations: 3.703 kB / 1.179 GB, free: 47.43 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008172/1.137, allocations: 0.5576 MB / 1.18 GB, free: 47.26 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/1.137, allocations: 64.09 kB / 1.18 GB, free: 47.23 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/1.137, allocations: 5.344 kB / 1.18 GB, free: 47.23 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/1.137, allocations: 11.22 kB / 1.18 GB, free: 47.23 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/1.137, allocations: 24.59 kB / 1.18 GB, free: 47.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.282e-05/1.137, allocations: 12.09 kB / 1.18 GB, free: 47.23 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.177e-05/1.137, allocations: 98.48 kB / 1.18 GB, free: 47.16 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.137, allocations: 0 / 1.18 GB, free: 47.16 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.006012/1.144, allocations: 1.715 MB / 1.182 GB, free: 46.92 MB / 1.076 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.01526/1.159, allocations: 2.212 MB / 1.184 GB, free: 46.54 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001117/1.16, allocations: 321.4 kB / 1.184 GB, free: 46.53 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/1.16, allocations: 5.406 kB / 1.184 GB, free: 46.52 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004664/1.16, allocations: 195.7 kB / 1.184 GB, free: 46.52 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000844/1.161, allocations: 50.08 kB / 1.184 GB, free: 46.52 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/1.163, allocations: 0.6133 MB / 1.185 GB, free: 46.29 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/1.163, allocations: 157.2 kB / 1.185 GB, free: 46.2 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0009984/1.164, allocations: 403.9 kB / 1.186 GB, free: 46.17 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/1.164, allocations: 47.23 kB / 1.186 GB, free: 46.16 MB / 1.076 GB Notification: Performance of SimCode: time 1.242e-06/1.164, allocations: 0 / 1.186 GB, free: 46.16 MB / 1.076 GB Notification: Performance of Templates: time 0.09276/1.257, allocations: 59.48 MB / 1.244 GB, free: 27.29 MB / 1.076 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: 13.659736976027489]