Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.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.001794/0.001794, allocations: 79.34 kB / 19.76 MB, free: 2.035 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.002418/0.002418, allocations: 158.7 kB / 23.01 MB, free: 4.941 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.48/1.48, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.862/2.862, allocations: 377.9 MB / 0.6228 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck") translateModel(Buildings.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002374/0.002374, allocations: 63.89 kB / 0.9819 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.17/1.172, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002042/1.174, allocations: 1.26 MB / 1.155 GB, free: 32.45 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1702/1.344, allocations: 120.9 MB / 1.273 GB, free: 15.24 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.362e-05/1.344, allocations: 0 / 1.273 GB, free: 15.24 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/1.344, allocations: 4.5 kB / 1.273 GB, free: 15.23 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 5.927e-05/1.344, allocations: 2.734 kB / 1.273 GB, free: 15.23 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00187/1.346, allocations: 463.5 kB / 1.274 GB, free: 15.07 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/1.346, allocations: 43.39 kB / 1.274 GB, free: 15.05 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.072e-05/1.346, allocations: 10.72 kB / 1.274 GB, free: 15.05 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 4.966e-05/1.347, allocations: 18.34 kB / 1.274 GB, free: 15.04 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/1.347, allocations: 19.7 kB / 1.274 GB, free: 15.04 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/1.347, allocations: 1.531 kB / 1.274 GB, free: 15.04 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001943/1.349, allocations: 0.7988 MB / 1.275 GB, free: 14.86 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 3.012e-05/1.349, allocations: 12.75 kB / 1.275 GB, free: 14.86 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 4.771e-05/1.349, allocations: 17.64 kB / 1.275 GB, free: 14.85 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0009098/1.35, allocations: 442.4 kB / 1.275 GB, free: 14.75 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/1.35, allocations: 0 / 1.275 GB, free: 14.75 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.595e-06/1.35, allocations: 1.25 kB / 1.275 GB, free: 14.75 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.13e-05/1.35, allocations: 0 / 1.275 GB, free: 14.75 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006202/1.35, allocations: 305.3 kB / 1.275 GB, free: 14.46 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/1.35, allocations: 13.41 kB / 1.275 GB, free: 14.46 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002258/1.351, allocations: 10.28 kB / 1.275 GB, free: 14.46 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/1.351, allocations: 114 kB / 1.275 GB, free: 14.32 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/1.351, allocations: 2.438 kB / 1.275 GB, free: 14.32 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/1.351, allocations: 11.47 kB / 1.275 GB, free: 14.32 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/1.351, allocations: 131.7 kB / 1.276 GB, free: 14.18 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/1.351, allocations: 0 / 1.276 GB, free: 14.18 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/1.351, allocations: 5.062 kB / 1.276 GB, free: 14.18 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/1.351, allocations: 1.188 kB / 1.276 GB, free: 14.18 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.781e-05/1.351, allocations: 18.2 kB / 1.276 GB, free: 14.18 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001888/1.351, allocations: 114.4 kB / 1.276 GB, free: 14.04 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/1.351, allocations: 56.12 kB / 1.276 GB, free: 14 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.273e-05/1.351, allocations: 20.19 kB / 1.276 GB, free: 13.99 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01363/1.365, allocations: 2.864 MB / 1.279 GB, free: 13.69 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.133e-05/1.365, allocations: 37.7 kB / 1.279 GB, free: 13.64 MB / 1.139 GB Notification: Performance of pre-optimization done (n=7): time 2.245e-06/1.365, allocations: 0 / 1.279 GB, free: 13.64 MB / 1.139 GB Notification: Performance of matching and sorting (n=11): time 0.04898/1.414, allocations: 14.92 MB / 1.293 GB, free: 10.05 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/1.414, allocations: 51.41 kB / 1.293 GB, free: 9.984 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.043e-05/1.414, allocations: 97.86 kB / 1.293 GB, free: 9.879 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/1.414, allocations: 25.7 kB / 1.293 GB, free: 9.848 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 6.41e-05/1.414, allocations: 84.12 kB / 1.293 GB, free: 9.762 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.364e-05/1.414, allocations: 39.64 kB / 1.293 GB, free: 9.723 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-05/1.414, allocations: 37.66 kB / 1.293 GB, free: 9.68 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002923/1.415, allocations: 314.8 kB / 1.294 GB, free: 9.363 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.359e-05/1.415, allocations: 24 kB / 1.294 GB, free: 9.34 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.012e-05/1.415, allocations: 24.11 kB / 1.294 GB, free: 9.316 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/1.415, allocations: 76.16 kB / 1.294 GB, free: 9.242 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/1.415, allocations: 3.938 kB / 1.294 GB, free: 9.238 MB / 1.139 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002416/1.415, allocations: 97.69 kB / 1.294 GB, free: 9.137 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/1.415, allocations: 4 kB / 1.294 GB, free: 9.133 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/1.415, allocations: 0 / 1.294 GB, free: 9.133 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/1.415, allocations: 0 / 1.294 GB, free: 9.133 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/1.415, allocations: 27.92 kB / 1.294 GB, free: 9.105 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/1.415, allocations: 4 kB / 1.294 GB, free: 9.102 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.032e-05/1.415, allocations: 7.938 kB / 1.294 GB, free: 9.094 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/1.415, allocations: 4 kB / 1.294 GB, free: 9.09 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (14): * Single equations (assignments): 14 * 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.0001038/1.416, allocations: 121.8 kB / 1.294 GB, free: 8.961 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.242e-05/1.416, allocations: 7.938 kB / 1.294 GB, free: 8.953 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003138/1.416, allocations: 121.5 kB / 1.294 GB, free: 8.824 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/1.416, allocations: 3.938 kB / 1.294 GB, free: 8.82 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/1.416, allocations: 4 kB / 1.294 GB, free: 8.816 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/1.416, allocations: 4 kB / 1.294 GB, free: 8.812 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/1.416, allocations: 121.2 kB / 1.294 GB, free: 8.664 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.416, allocations: 0 / 1.294 GB, free: 8.664 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/1.416, allocations: 27.98 kB / 1.294 GB, free: 8.637 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/1.416, allocations: 0 / 1.294 GB, free: 8.637 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/1.416, allocations: 7.984 kB / 1.294 GB, free: 8.629 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/1.416, allocations: 0 / 1.294 GB, free: 8.629 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.416, allocations: 0 / 1.294 GB, free: 8.629 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003306/1.417, allocations: 160.9 kB / 1.295 GB, free: 8.453 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/1.417, allocations: 8.031 kB / 1.295 GB, free: 8.445 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/1.417, allocations: 11.98 kB / 1.295 GB, free: 8.434 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/1.417, allocations: 12 kB / 1.295 GB, free: 8.422 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.039e-05/1.417, allocations: 7.984 kB / 1.295 GB, free: 8.414 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/1.417, allocations: 8 kB / 1.295 GB, free: 8.406 MB / 1.139 GB Notification: Performance of sorting global known variables: time 4.811e-05/1.417, allocations: 79.27 kB / 1.295 GB, free: 8.328 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/1.417, allocations: 0 / 1.295 GB, free: 8.328 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003229/1.42, allocations: 0.5699 MB / 1.295 GB, free: 7.758 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.003498/1.424, allocations: 355.2 kB / 1.296 GB, free: 7.402 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0002692/1.424, allocations: 59.91 kB / 1.296 GB, free: 7.344 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/1.424, allocations: 0 / 1.296 GB, free: 7.344 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 7.445e-05/1.424, allocations: 35.98 kB / 1.296 GB, free: 7.309 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/1.424, allocations: 11.94 kB / 1.296 GB, free: 7.297 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007911/1.425, allocations: 346.9 kB / 1.296 GB, free: 6.93 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/1.425, allocations: 83.23 kB / 1.296 GB, free: 6.828 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 8.707e-05/1.425, allocations: 20.61 kB / 1.296 GB, free: 6.809 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/1.425, allocations: 20.5 kB / 1.296 GB, free: 6.789 MB / 1.139 GB Notification: Performance of SimCode: time 1.022e-06/1.425, allocations: 0 / 1.296 GB, free: 6.789 MB / 1.139 GB Notification: Performance of Templates: time 0.04378/1.469, allocations: 24.27 MB / 1.32 GB, free: 14.5 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.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.435130342026241]