Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001397/0.001397, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001574/0.001574, allocations: 217.4 kB / 22.25 MB, free: 4.855 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.597/1.597, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.946/2.946, allocations: 476 MB / 0.7699 GB, free: 4.781 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002202/0.002202, allocations: 64.02 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4457/0.4479, allocations: 170 MB / 1.283 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002777/0.4507, allocations: 1.276 MB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1803/0.6309, allocations: 120.9 MB / 1.402 GB, free: 1.355 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.071e-05/0.631, allocations: 0 / 1.402 GB, free: 1.355 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 2.727e-05/0.631, allocations: 3.938 kB / 1.402 GB, free: 1.352 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 7.141e-05/0.6311, allocations: 3.938 kB / 1.402 GB, free: 1.348 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.6326, allocations: 454.4 kB / 1.403 GB, free: 0.9023 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.6327, allocations: 39.84 kB / 1.403 GB, free: 0.8633 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 5.238e-05/0.6328, allocations: 15.94 kB / 1.403 GB, free: 0.8477 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 5.952e-05/0.6328, allocations: 23.97 kB / 1.403 GB, free: 0.8242 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 9.814e-05/0.6329, allocations: 19.92 kB / 1.403 GB, free: 0.8047 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.633, allocations: 0 / 1.403 GB, free: 0.8047 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.6346, allocations: 0.7997 MB / 1.404 GB, free: 4 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 4.091e-05/0.6346, allocations: 11.97 kB / 1.404 GB, free: 15.99 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.6346, allocations: 11.94 kB / 1.404 GB, free: 15.98 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0006402/0.6353, allocations: 447 kB / 1.404 GB, free: 15.54 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.6353, allocations: 4 kB / 1.404 GB, free: 15.54 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6353, allocations: 0 / 1.404 GB, free: 15.54 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.6353, allocations: 0 / 1.404 GB, free: 15.54 MB / 1.107 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.0005504/0.6358, allocations: 290.1 kB / 1.404 GB, free: 15.23 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.6359, allocations: 16.03 kB / 1.404 GB, free: 15.21 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.6361, allocations: 24.88 kB / 1.404 GB, free: 15.19 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.6362, allocations: 110.5 kB / 1.404 GB, free: 15.05 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.6362, allocations: 4.375 kB / 1.404 GB, free: 15.05 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.291e-05/0.6362, allocations: 12.12 kB / 1.404 GB, free: 15.04 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.6365, allocations: 126.8 kB / 1.405 GB, free: 14.89 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.6365, allocations: 0 / 1.405 GB, free: 14.89 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.6365, allocations: 4 kB / 1.405 GB, free: 14.89 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.6365, allocations: 0 / 1.405 GB, free: 14.89 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.314e-05/0.6366, allocations: 19.97 kB / 1.405 GB, free: 14.87 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.6367, allocations: 117.3 kB / 1.405 GB, free: 14.72 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.6369, allocations: 50.5 kB / 1.405 GB, free: 14.66 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.004e-05/0.6369, allocations: 8.859 kB / 1.405 GB, free: 14.65 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01169/0.6486, allocations: 2.872 MB / 1.408 GB, free: 11.78 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.56e-05/0.6486, allocations: 38.5 kB / 1.408 GB, free: 11.73 MB / 1.107 GB Notification: Performance of pre-optimization done (n=7): time 2.514e-06/0.6486, allocations: 3.938 kB / 1.408 GB, free: 11.73 MB / 1.107 GB Notification: Performance of matching and sorting (n=11): time 0.04346/0.6921, allocations: 14.93 MB / 1.422 GB, free: 12.66 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.6921, allocations: 51.41 kB / 1.422 GB, free: 12.6 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.769e-05/0.6922, allocations: 93.84 kB / 1.422 GB, free: 12.5 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.6922, allocations: 33.7 kB / 1.422 GB, free: 12.46 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 3.65e-05/0.6923, allocations: 84.08 kB / 1.422 GB, free: 12.38 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.914e-05/0.6923, allocations: 35.69 kB / 1.423 GB, free: 12.34 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.667e-05/0.6924, allocations: 33.72 kB / 1.423 GB, free: 12.3 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.6925, allocations: 318.8 kB / 1.423 GB, free: 11.98 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.762e-05/0.6926, allocations: 23.98 kB / 1.423 GB, free: 11.96 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.787e-05/0.6926, allocations: 26.25 kB / 1.423 GB, free: 11.93 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.6928, allocations: 64.78 kB / 1.423 GB, free: 11.87 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.6928, allocations: 3.938 kB / 1.423 GB, free: 11.86 MB / 1.123 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002237/0.693, allocations: 107.1 kB / 1.423 GB, free: 11.75 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.693, allocations: 4 kB / 1.423 GB, free: 11.75 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.693, allocations: 3.984 kB / 1.423 GB, free: 11.75 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.693, allocations: 0 / 1.423 GB, free: 11.75 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.6932, allocations: 31.94 kB / 1.423 GB, free: 11.71 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.6932, allocations: 240 / 1.423 GB, free: 11.71 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.776e-05/0.6932, allocations: 4 kB / 1.423 GB, free: 11.71 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.6932, allocations: 15.97 kB / 1.423 GB, free: 11.7 MB / 1.123 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 9.778e-05/0.6933, allocations: 117.8 kB / 1.423 GB, free: 11.57 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.026e-05/0.6934, allocations: 7.953 kB / 1.423 GB, free: 11.56 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002752/0.6936, allocations: 129.3 kB / 1.423 GB, free: 11.43 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.6936, allocations: 0 / 1.423 GB, free: 11.43 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.6937, allocations: 0 / 1.423 GB, free: 11.43 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.6937, allocations: 0 / 1.423 GB, free: 11.43 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.6938, allocations: 129.2 kB / 1.423 GB, free: 11.27 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.6938, allocations: 4 kB / 1.423 GB, free: 11.27 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.6939, allocations: 23.98 kB / 1.424 GB, free: 11.25 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.6939, allocations: 0 / 1.424 GB, free: 11.25 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.6939, allocations: 8 kB / 1.424 GB, free: 11.24 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.6939, allocations: 3.984 kB / 1.424 GB, free: 11.23 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.6939, allocations: 0 / 1.424 GB, free: 11.23 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003322/0.6943, allocations: 156.9 kB / 1.424 GB, free: 11.06 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 5.049e-05/0.6943, allocations: 8.031 kB / 1.424 GB, free: 11.05 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.6943, allocations: 8 kB / 1.424 GB, free: 11.05 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.6945, allocations: 15.98 kB / 1.424 GB, free: 11.03 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/0.6945, allocations: 0 / 1.424 GB, free: 11.03 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.6945, allocations: 11.98 kB / 1.424 GB, free: 11.02 MB / 1.123 GB Notification: Performance of sorting global known variables: time 3.995e-05/0.6945, allocations: 83.22 kB / 1.424 GB, free: 10.94 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/0.6945, allocations: 0 / 1.424 GB, free: 10.94 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001948/0.6965, allocations: 0.566 MB / 1.424 GB, free: 10.37 MB / 1.123 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.002765/0.6993, allocations: 350.8 kB / 1.425 GB, free: 10.02 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0001955/0.6995, allocations: 59.91 kB / 1.425 GB, free: 9.961 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6995, allocations: 0 / 1.425 GB, free: 9.961 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 6.503e-05/0.6995, allocations: 39.92 kB / 1.425 GB, free: 9.922 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.6997, allocations: 14.59 kB / 1.425 GB, free: 9.91 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006683/0.7004, allocations: 346.5 kB / 1.425 GB, free: 9.547 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.086e-05/0.7005, allocations: 75.23 kB / 1.425 GB, free: 9.453 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 8.758e-05/0.7006, allocations: 24.55 kB / 1.425 GB, free: 9.43 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.7006, allocations: 27.36 kB / 1.425 GB, free: 9.402 MB / 1.123 GB Notification: Performance of SimCode: time 5.62e-07/0.7006, allocations: 0 / 1.425 GB, free: 9.402 MB / 1.123 GB Notification: Performance of Templates: time 0.0418/0.7424, allocations: 24.28 MB / 1.449 GB, free: 1.109 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.724000295624137]