Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002077/0.002077, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002257/0.002257, allocations: 170 kB / 22.46 MB, free: 5.359 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.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.002/3.002, allocations: 389 MB / 0.633 GB, free: 0.9766 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Media.Examples.SteamProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 1 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.925e-05/2.054e-05, allocations: 2.281 kB / 1 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1721/0.1721, allocations: 119.7 MB / 1.117 GB, free: 15.15 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.731/0.9031, allocations: 20.22 MB / 1.137 GB, free: 45.08 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.9033, allocations: 3.781 kB / 1.137 GB, free: 45.08 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.9036, allocations: 46.33 kB / 1.137 GB, free: 45.08 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003194/0.9039, allocations: 104.5 kB / 1.137 GB, free: 45.08 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.01604/0.92, allocations: 7.005 MB / 1.144 GB, free: 45 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004449/0.9204, allocations: 256 kB / 1.144 GB, free: 45 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.71e-05/0.9205, allocations: 11.61 kB / 1.144 GB, free: 45 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003602/0.9208, allocations: 182 kB / 1.144 GB, free: 45 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.921, allocations: 75.77 kB / 1.144 GB, free: 45 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.986e-05/0.921, allocations: 9.406 kB / 1.144 GB, free: 45 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02031/0.9413, allocations: 11.14 MB / 1.155 GB, free: 44.93 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.9415, allocations: 39.22 kB / 1.155 GB, free: 44.93 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002245/0.9417, allocations: 58.19 kB / 1.155 GB, free: 44.93 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.02587/0.9676, allocations: 8.37 MB / 1.163 GB, free: 44.72 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.9676, allocations: 1.562 kB / 1.163 GB, free: 44.72 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9676, allocations: 0 / 1.163 GB, free: 44.72 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.935e-05/0.9676, allocations: 0.5 kB / 1.163 GB, free: 44.72 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.007279/0.9749, allocations: 1.164 MB / 1.165 GB, free: 44.02 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.9749, allocations: 9.469 kB / 1.165 GB, free: 44.02 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.9762, allocations: 86.56 kB / 1.165 GB, free: 44.01 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004211/0.9766, allocations: 171.8 kB / 1.165 GB, free: 43.87 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.9766, allocations: 10.81 kB / 1.165 GB, free: 43.87 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.6e-05/0.9767, allocations: 17.38 kB / 1.165 GB, free: 43.87 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.9781, allocations: 0.6628 MB / 1.165 GB, free: 43.56 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.9781, allocations: 4.969 kB / 1.165 GB, free: 43.55 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.674e-05/0.9781, allocations: 10.06 kB / 1.165 GB, free: 43.55 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.9781, allocations: 6.562 kB / 1.165 GB, free: 43.55 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.9796, allocations: 0.6071 MB / 1.166 GB, free: 43.55 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.9806, allocations: 0.6947 MB / 1.167 GB, free: 43.09 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008958/0.9815, allocations: 233.5 kB / 1.167 GB, free: 43.07 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.9816, allocations: 63.39 kB / 1.167 GB, free: 43.06 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08966/1.071, allocations: 23.36 MB / 1.19 GB, free: 41.33 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/1.071, allocations: 41.25 kB / 1.19 GB, free: 41.29 MB / 1.076 GB Notification: Performance of pre-optimization done (n=25): time 1.994e-06/1.071, allocations: 0 / 1.19 GB, free: 41.29 MB / 1.076 GB Notification: Performance of matching and sorting (n=25): time 0.001799/1.073, allocations: 419.7 kB / 1.19 GB, free: 41.24 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/1.073, allocations: 54.97 kB / 1.19 GB, free: 41.18 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.952e-05/1.073, allocations: 135.6 kB / 1.19 GB, free: 41.07 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/1.073, allocations: 32.7 kB / 1.19 GB, free: 41.04 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.72e-05/1.073, allocations: 112 kB / 1.191 GB, free: 40.95 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.622e-05/1.073, allocations: 85.69 kB / 1.191 GB, free: 40.89 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/1.074, allocations: 77.31 kB / 1.191 GB, free: 40.87 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.247e-05/1.074, allocations: 324.1 kB / 1.191 GB, free: 40.56 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/1.074, allocations: 81.7 kB / 1.191 GB, free: 40.56 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/1.074, allocations: 131.9 kB / 1.191 GB, free: 40.51 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004375/1.074, allocations: 216.1 kB / 1.191 GB, free: 40.46 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.074, allocations: 5.766 kB / 1.191 GB, free: 40.46 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007556/1.075, allocations: 301.2 kB / 1.192 GB, free: 40.41 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/1.075, allocations: 7.5 kB / 1.192 GB, free: 40.41 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/1.075, allocations: 1.5 kB / 1.192 GB, free: 40.41 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/1.075, allocations: 6.594 kB / 1.192 GB, free: 40.41 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/1.076, allocations: 83.88 kB / 1.192 GB, free: 40.41 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.485e-06/1.076, allocations: 2.25 kB / 1.192 GB, free: 40.41 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/1.076, allocations: 16.64 kB / 1.192 GB, free: 40.4 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.005e-05/1.076, allocations: 27.31 kB / 1.192 GB, free: 40.4 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.0001129/1.076, allocations: 130.1 kB / 1.192 GB, free: 40.29 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001935/1.076, allocations: 20.44 kB / 1.192 GB, free: 40.28 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00255/1.079, allocations: 2.493 MB / 1.194 GB, free: 40.14 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/1.079, allocations: 13.08 kB / 1.194 GB, free: 40.14 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.079, allocations: 4 kB / 1.194 GB, free: 40.14 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/1.079, allocations: 1.375 kB / 1.194 GB, free: 40.14 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004094/1.083, allocations: 3.531 MB / 1.198 GB, free: 39.65 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/1.083, allocations: 2.531 kB / 1.198 GB, free: 39.65 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000314/1.083, allocations: 55.38 kB / 1.198 GB, free: 39.65 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/1.083, allocations: 1.156 kB / 1.198 GB, free: 39.65 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-05/1.083, allocations: 12.02 kB / 1.198 GB, free: 39.65 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/1.083, allocations: 1.312 kB / 1.198 GB, free: 39.65 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.083, allocations: 0 / 1.198 GB, free: 39.65 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/1.084, allocations: 0.5592 MB / 1.199 GB, free: 39.49 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001797/1.084, allocations: 69.12 kB / 1.199 GB, free: 39.46 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.089e-05/1.084, allocations: 8.531 kB / 1.199 GB, free: 39.46 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/1.085, allocations: 13.12 kB / 1.199 GB, free: 39.46 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.253e-05/1.085, allocations: 17.3 kB / 1.199 GB, free: 39.46 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.794e-05/1.085, allocations: 14.92 kB / 1.199 GB, free: 39.46 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.162e-05/1.085, allocations: 96.69 kB / 1.199 GB, free: 39.38 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.085, allocations: 1.031 kB / 1.199 GB, free: 39.38 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.01134/1.096, allocations: 1.717 MB / 1.2 GB, free: 39.15 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.01781/1.114, allocations: 2.203 MB / 1.203 GB, free: 38.75 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00102/1.115, allocations: 327.3 kB / 1.203 GB, free: 38.74 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.115, allocations: 1.688 kB / 1.203 GB, free: 38.74 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003267/1.115, allocations: 200.5 kB / 1.203 GB, free: 38.73 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006402/1.116, allocations: 51.39 kB / 1.203 GB, free: 38.72 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/1.117, allocations: 0.6132 MB / 1.204 GB, free: 38.48 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001631/1.117, allocations: 155.7 kB / 1.204 GB, free: 38.4 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0005299/1.118, allocations: 406.3 kB / 1.204 GB, free: 38.37 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/1.118, allocations: 50.88 kB / 1.204 GB, free: 38.36 MB / 1.076 GB Notification: Performance of SimCode: time 8.22e-07/1.118, allocations: 0 / 1.204 GB, free: 38.36 MB / 1.076 GB Notification: Performance of Templates: time 0.07121/1.189, allocations: 59.47 MB / 1.262 GB, free: 4.234 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamProperties.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_latest_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.720752812922]