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.002412/0.002412, allocations: 93.47 kB / 19.44 MB, free: 336 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.002917/0.002917, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.573/1.573, allocations: 177.1 MB / 203.1 MB, free: 5.258 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.366/3.366, allocations: 429.5 MB / 0.6729 GB, free: 4 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.403e-06/1.403e-06, allocations: 0 / 0.8774 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.171e-05/3.311e-05, allocations: 3.531 kB / 0.8774 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1961/0.1961, allocations: 131.6 MB / 1.006 GB, free: 2.648 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.03504/0.2312, allocations: 22.27 MB / 1.028 GB, free: 12.3 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.2313, allocations: 0 / 1.028 GB, free: 12.3 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003029/0.2316, allocations: 47.62 kB / 1.028 GB, free: 12.26 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003496/0.232, allocations: 99.3 kB / 1.028 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.01977/0.2518, allocations: 6.992 MB / 1.035 GB, free: 5.148 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0004694/0.2522, allocations: 255.7 kB / 1.035 GB, free: 4.895 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.482e-05/0.2523, allocations: 5.812 kB / 1.035 GB, free: 4.891 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004257/0.2527, allocations: 191.3 kB / 1.035 GB, free: 4.703 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.2529, allocations: 79.77 kB / 1.035 GB, free: 4.625 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.342e-05/0.2529, allocations: 8 kB / 1.035 GB, free: 4.617 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0242/0.2771, allocations: 11.13 MB / 1.046 GB, free: 9.469 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.2772, allocations: 35.91 kB / 1.046 GB, free: 9.434 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.2774, allocations: 67.81 kB / 1.046 GB, free: 9.367 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.01987/0.2973, allocations: 8.372 MB / 1.054 GB, free: 0.9766 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.2973, allocations: 4 kB / 1.054 GB, free: 0.9727 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2973, allocations: 0 / 1.054 GB, free: 0.9727 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.2973, allocations: 0 / 1.054 GB, free: 0.9727 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.4785/0.7758, allocations: 1.259 MB / 1.056 GB, free: 217.6 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.7759, allocations: 11.28 kB / 1.056 GB, free: 217.6 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/0.7771, allocations: 144.7 kB / 1.056 GB, free: 217.6 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.7774, allocations: 177.6 kB / 1.056 GB, free: 217.5 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.7774, allocations: 9.781 kB / 1.056 GB, free: 217.5 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.34e-05/0.7774, allocations: 20.66 kB / 1.056 GB, free: 217.5 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.7784, allocations: 0.5932 MB / 1.056 GB, free: 217.2 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.7785, allocations: 0 / 1.056 GB, free: 217.2 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.7785, allocations: 9.125 kB / 1.056 GB, free: 217.2 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.7785, allocations: 5.281 kB / 1.056 GB, free: 217.2 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.7795, allocations: 0.5143 MB / 1.057 GB, free: 217.1 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008696/0.7804, allocations: 0.8826 MB / 1.058 GB, free: 216.5 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007527/0.7811, allocations: 255.1 kB / 1.058 GB, free: 216.5 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.7812, allocations: 72.34 kB / 1.058 GB, free: 216.4 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08179/0.863, allocations: 23.53 MB / 1.081 GB, free: 214 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.8631, allocations: 41.36 kB / 1.081 GB, free: 214 MB / 1.01 GB Notification: Performance of pre-optimization done (n=25): time 1.573e-06/0.8631, allocations: 0 / 1.081 GB, free: 214 MB / 1.01 GB Notification: Performance of matching and sorting (n=25): time 0.001892/0.8649, allocations: 487.7 kB / 1.082 GB, free: 213.8 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.865, allocations: 55.83 kB / 1.082 GB, free: 213.8 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.8651, allocations: 191.7 kB / 1.082 GB, free: 213.6 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.8651, allocations: 32.08 kB / 1.082 GB, free: 213.6 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 5.721e-05/0.8652, allocations: 159.8 kB / 1.082 GB, free: 213.4 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 6.137e-05/0.8652, allocations: 88.64 kB / 1.082 GB, free: 213.4 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.8654, allocations: 84.61 kB / 1.082 GB, free: 213.3 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.974e-05/0.8655, allocations: 0.4962 MB / 1.083 GB, free: 212.8 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.8657, allocations: 86.31 kB / 1.083 GB, free: 212.8 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/0.8659, allocations: 157.2 kB / 1.083 GB, free: 212.7 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000469/0.8664, allocations: 246.6 kB / 1.083 GB, free: 212.6 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.8664, allocations: 0.75 kB / 1.083 GB, free: 212.6 MB / 1.01 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008494/0.8672, allocations: 341.4 kB / 1.083 GB, free: 212.4 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.8673, allocations: 13.31 kB / 1.084 GB, free: 212.4 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.8673, allocations: 5.062 kB / 1.084 GB, free: 212.4 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.8673, allocations: 3.312 kB / 1.084 GB, free: 212.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/0.8676, allocations: 80.8 kB / 1.084 GB, free: 212.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.8676, allocations: 1.891 kB / 1.084 GB, free: 212.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.8678, allocations: 22.5 kB / 1.084 GB, free: 212.4 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.986e-05/0.8678, allocations: 27.19 kB / 1.084 GB, free: 212.4 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.0001083/0.8679, allocations: 175.6 kB / 1.084 GB, free: 212.2 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/0.8681, allocations: 42.31 kB / 1.084 GB, free: 212.2 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001976/0.8701, allocations: 1.538 MB / 1.085 GB, free: 212 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/0.8701, allocations: 14.03 kB / 1.085 GB, free: 212 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.8701, allocations: 0 / 1.085 GB, free: 212 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.8701, allocations: 1.406 kB / 1.085 GB, free: 212 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002358/0.8725, allocations: 2.131 MB / 1.087 GB, free: 211.3 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.8725, allocations: 3.938 kB / 1.087 GB, free: 211.3 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/0.8728, allocations: 59.84 kB / 1.088 GB, free: 211.2 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.8728, allocations: 4.375 kB / 1.088 GB, free: 211.2 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.8728, allocations: 9.078 kB / 1.088 GB, free: 211.2 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.8728, allocations: 1 kB / 1.088 GB, free: 211.2 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.8728, allocations: 4.656 kB / 1.088 GB, free: 211.2 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007617/0.8736, allocations: 0.5625 MB / 1.088 GB, free: 210.9 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.8737, allocations: 59.44 kB / 1.088 GB, free: 210.9 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.8737, allocations: 6.141 kB / 1.088 GB, free: 210.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.8739, allocations: 10.42 kB / 1.088 GB, free: 210.9 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/0.8739, allocations: 15.89 kB / 1.088 GB, free: 210.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.157e-05/0.874, allocations: 14.94 kB / 1.088 GB, free: 210.9 MB / 1.01 GB Notification: Performance of sorting global known variables: time 5.858e-05/0.874, allocations: 141.2 kB / 1.088 GB, free: 210.8 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.874, allocations: 1.422 kB / 1.088 GB, free: 210.8 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.004829/0.8788, allocations: 1.728 MB / 1.09 GB, free: 210.5 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.00711/0.886, allocations: 2.199 MB / 1.092 GB, free: 210 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007242/0.8867, allocations: 297 kB / 1.092 GB, free: 210 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.8867, allocations: 1.156 kB / 1.092 GB, free: 210 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000282/0.887, allocations: 177 kB / 1.093 GB, free: 209.9 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006672/0.8876, allocations: 96.3 kB / 1.093 GB, free: 209.9 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009861/0.8886, allocations: 0.5736 MB / 1.093 GB, free: 209.6 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/0.8888, allocations: 154 kB / 1.093 GB, free: 209.5 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006401/0.8894, allocations: 409 kB / 1.094 GB, free: 209.5 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.8895, allocations: 50.5 kB / 1.094 GB, free: 209.4 MB / 1.01 GB Notification: Performance of SimCode: time 8.61e-07/0.8895, allocations: 0 / 1.094 GB, free: 209.4 MB / 1.01 GB Notification: Performance of Templates: time 0.07094/0.9605, allocations: 61.67 MB / 1.154 GB, free: 162 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 240] 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.475924630998634]