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.001803/0.001803, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002424/0.002424, allocations: 157.6 kB / 22.75 MB, free: 1.684 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 1.558/1.558, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 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.166/3.166, allocations: 429.6 MB / 0.673 GB, free: 3.91 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.583e-06/1.583e-06, allocations: 0 / 0.8776 GB, free: 6.52 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.828e-05, allocations: 3.375 kB / 0.8776 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1757/0.1757, allocations: 119.7 MB / 0.9944 GB, free: 14.43 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.03287/0.2086, allocations: 20.24 MB / 1.014 GB, free: 10.12 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.2087, allocations: 8 kB / 1.014 GB, free: 10.11 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0003368/0.2091, allocations: 47.67 kB / 1.014 GB, free: 10.06 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0004053/0.2095, allocations: 99.28 kB / 1.014 GB, free: 9.965 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.02046/0.2299, allocations: 6.987 MB / 1.021 GB, free: 2.957 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0004906/0.2304, allocations: 259.7 kB / 1.021 GB, free: 2.699 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 5.284e-05/0.2305, allocations: 5.812 kB / 1.021 GB, free: 2.695 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004856/0.231, allocations: 187.3 kB / 1.022 GB, free: 2.512 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.2312, allocations: 79.81 kB / 1.022 GB, free: 2.434 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 3.231e-05/0.2312, allocations: 8 kB / 1.022 GB, free: 2.426 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02432/0.2555, allocations: 11.13 MB / 1.033 GB, free: 7.281 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.2557, allocations: 35.89 kB / 1.033 GB, free: 7.246 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001696/0.2558, allocations: 63.89 kB / 1.033 GB, free: 7.184 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.02075/0.2766, allocations: 8.384 MB / 1.041 GB, free: 14.78 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.2766, allocations: 0 / 1.041 GB, free: 14.78 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2766, allocations: 0 / 1.041 GB, free: 14.78 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.2766, allocations: 0 / 1.041 GB, free: 14.78 MB / 1.01 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.004189/0.2808, allocations: 1.155 MB / 1.042 GB, free: 13.59 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.2808, allocations: 12.03 kB / 1.042 GB, free: 13.58 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001265/0.2821, allocations: 148.3 kB / 1.042 GB, free: 13.43 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004624/0.2826, allocations: 173.4 kB / 1.042 GB, free: 13.24 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.2826, allocations: 12.38 kB / 1.042 GB, free: 13.23 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.639e-05/0.2826, allocations: 20.38 kB / 1.042 GB, free: 13.21 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.2842, allocations: 0.67 MB / 1.043 GB, free: 12.47 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.2843, allocations: 3.938 kB / 1.043 GB, free: 12.46 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.53e-05/0.2843, allocations: 12 kB / 1.043 GB, free: 12.45 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.2843, allocations: 4 kB / 1.043 GB, free: 12.45 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001467/0.2858, allocations: 0.6049 MB / 1.044 GB, free: 11.84 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.287, allocations: 0.6919 MB / 1.044 GB, free: 11.11 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009132/0.2879, allocations: 242.8 kB / 1.044 GB, free: 10.86 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.2881, allocations: 69.91 kB / 1.045 GB, free: 10.79 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5462/0.8342, allocations: 23.33 MB / 1.067 GB, free: 215.9 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.8343, allocations: 37.28 kB / 1.067 GB, free: 215.9 MB / 1.01 GB Notification: Performance of pre-optimization done (n=25): time 1.943e-06/0.8343, allocations: 1.75 kB / 1.067 GB, free: 215.9 MB / 1.01 GB Notification: Performance of matching and sorting (n=25): time 0.001844/0.8361, allocations: 467.3 kB / 1.068 GB, free: 215.7 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/0.8361, allocations: 53.88 kB / 1.068 GB, free: 215.7 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.574e-05/0.8362, allocations: 123.4 kB / 1.068 GB, free: 215.6 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.8362, allocations: 29.7 kB / 1.068 GB, free: 215.5 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 4.286e-05/0.8363, allocations: 116.3 kB / 1.068 GB, free: 215.4 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.225e-05/0.8363, allocations: 88.66 kB / 1.068 GB, free: 215.4 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.8364, allocations: 81.56 kB / 1.068 GB, free: 215.4 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 5.083e-05/0.8365, allocations: 320.9 kB / 1.069 GB, free: 215 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.8367, allocations: 80.5 kB / 1.069 GB, free: 215 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.8369, allocations: 130 kB / 1.069 GB, free: 214.9 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004089/0.8373, allocations: 232.6 kB / 1.069 GB, free: 214.8 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.8373, allocations: 3.422 kB / 1.069 GB, free: 214.8 MB / 1.01 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007529/0.838, allocations: 323.4 kB / 1.069 GB, free: 214.7 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.838, allocations: 7.75 kB / 1.069 GB, free: 214.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.8381, allocations: 160 / 1.069 GB, free: 214.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.8381, allocations: 9.375 kB / 1.069 GB, free: 214.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/0.8384, allocations: 80.53 kB / 1.069 GB, free: 214.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.8384, allocations: 2.688 kB / 1.069 GB, free: 214.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.8385, allocations: 21.75 kB / 1.069 GB, free: 214.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.963e-05/0.8386, allocations: 24.14 kB / 1.069 GB, free: 214.7 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 0.0001074/0.8387, allocations: 133.4 kB / 1.07 GB, free: 214.5 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/0.8389, allocations: 38.59 kB / 1.07 GB, free: 214.5 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002046/0.841, allocations: 2.492 MB / 1.072 GB, free: 213.5 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-05/0.841, allocations: 10.05 kB / 1.072 GB, free: 213.5 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.841, allocations: 6.625 kB / 1.072 GB, free: 213.5 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.841, allocations: 7.875 kB / 1.072 GB, free: 213.5 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002638/0.8436, allocations: 3.532 MB / 1.076 GB, free: 211.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.8436, allocations: 3.938 kB / 1.076 GB, free: 211.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002718/0.8439, allocations: 57.14 kB / 1.076 GB, free: 211.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.8439, allocations: 3.156 kB / 1.076 GB, free: 211.7 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.8439, allocations: 10.44 kB / 1.076 GB, free: 211.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.8439, allocations: 3.938 kB / 1.076 GB, free: 211.7 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.8439, allocations: 0 / 1.076 GB, free: 211.7 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007293/0.8447, allocations: 0.5803 MB / 1.076 GB, free: 211.4 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.8448, allocations: 65.81 kB / 1.076 GB, free: 211.4 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/0.8448, allocations: 10.31 kB / 1.076 GB, free: 211.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.845, allocations: 14.59 kB / 1.076 GB, free: 211.4 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.8451, allocations: 19.92 kB / 1.076 GB, free: 211.4 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.829e-05/0.8451, allocations: 17.25 kB / 1.076 GB, free: 211.4 MB / 1.01 GB Notification: Performance of sorting global known variables: time 4.898e-05/0.8452, allocations: 95.25 kB / 1.076 GB, free: 211.3 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.8452, allocations: 0 / 1.076 GB, free: 211.3 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.004541/0.8497, allocations: 1.719 MB / 1.078 GB, free: 211.1 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.009014/0.8587, allocations: 2.209 MB / 1.08 GB, free: 210.6 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0008873/0.8596, allocations: 311.3 kB / 1.081 GB, free: 210.5 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.8596, allocations: 6.062 kB / 1.081 GB, free: 210.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002872/0.8599, allocations: 200.2 kB / 1.081 GB, free: 210.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007119/0.8606, allocations: 94.94 kB / 1.081 GB, free: 210.4 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009854/0.8616, allocations: 0.6069 MB / 1.081 GB, free: 210.1 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.8617, allocations: 156 kB / 1.082 GB, free: 210 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005394/0.8623, allocations: 405.8 kB / 1.082 GB, free: 210 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.8624, allocations: 52.98 kB / 1.082 GB, free: 210 MB / 1.01 GB Notification: Performance of SimCode: time 8.22e-07/0.8624, allocations: 3.938 kB / 1.082 GB, free: 210 MB / 1.01 GB Notification: Performance of Templates: time 0.07837/0.9408, allocations: 60.42 MB / 1.141 GB, free: 175 MB / 1.01 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.2912468300201]