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.001394/0.001394, allocations: 79.89 kB / 19.76 MB, free: 2.031 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.001496/0.001496, allocations: 162.5 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.433/1.433, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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.654/2.654, allocations: 359.1 MB / 0.6044 GB, free: 14.82 MB / 0.5762 GB " [Timeout remaining time 177] 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.002089/0.002089, allocations: 67.89 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3561, allocations: 169.9 MB / 1.117 GB, free: 2.566 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002353/0.3585, allocations: 1.277 MB / 1.119 GB, free: 1.281 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.771/1.13, allocations: 120.9 MB / 1.237 GB, free: 13.36 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.271e-05/1.13, allocations: 1.219 kB / 1.237 GB, free: 13.36 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 2.177e-05/1.13, allocations: 5.109 kB / 1.237 GB, free: 13.36 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 6.105e-05/1.13, allocations: 5.625 kB / 1.237 GB, free: 13.35 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001575/1.131, allocations: 459.3 kB / 1.237 GB, free: 13.2 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 9.256e-05/1.131, allocations: 45.44 kB / 1.237 GB, free: 13.18 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 5.744e-05/1.131, allocations: 6.594 kB / 1.237 GB, free: 13.18 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 5.571e-05/1.131, allocations: 19.28 kB / 1.237 GB, free: 13.17 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 8.991e-05/1.132, allocations: 23.98 kB / 1.237 GB, free: 13.16 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/1.132, allocations: 2.031 kB / 1.237 GB, free: 13.16 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001679/1.133, allocations: 0.7982 MB / 1.238 GB, free: 12.99 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 2.688e-05/1.133, allocations: 8.203 kB / 1.238 GB, free: 12.98 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 4.287e-05/1.133, allocations: 21.23 kB / 1.238 GB, free: 12.97 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0007146/1.134, allocations: 442.4 kB / 1.238 GB, free: 12.88 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.134, allocations: 1.844 kB / 1.238 GB, free: 12.88 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.232e-06/1.134, allocations: 0 / 1.238 GB, free: 12.88 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.09e-06/1.134, allocations: 0 / 1.238 GB, free: 12.88 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.0005175/1.135, allocations: 293.7 kB / 1.239 GB, free: 12.6 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/1.135, allocations: 9.469 kB / 1.239 GB, free: 12.6 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001888/1.135, allocations: 19.2 kB / 1.239 GB, free: 12.59 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/1.135, allocations: 113.6 kB / 1.239 GB, free: 12.46 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/1.135, allocations: 2.406 kB / 1.239 GB, free: 12.46 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/1.135, allocations: 12.23 kB / 1.239 GB, free: 12.45 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/1.135, allocations: 131 kB / 1.239 GB, free: 12.32 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/1.135, allocations: 0 / 1.239 GB, free: 12.32 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/1.135, allocations: 5.344 kB / 1.239 GB, free: 12.31 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/1.135, allocations: 1.219 kB / 1.239 GB, free: 12.31 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.065e-05/1.135, allocations: 14.25 kB / 1.239 GB, free: 12.31 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001776/1.135, allocations: 116.1 kB / 1.239 GB, free: 12.18 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/1.135, allocations: 55.59 kB / 1.239 GB, free: 12.14 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.106e-05/1.135, allocations: 17.12 kB / 1.239 GB, free: 12.13 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01264/1.148, allocations: 2.863 MB / 1.242 GB, free: 11.83 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.063e-05/1.148, allocations: 43.14 kB / 1.242 GB, free: 11.79 MB / 1.107 GB Notification: Performance of pre-optimization done (n=7): time 2.194e-06/1.148, allocations: 4 kB / 1.242 GB, free: 11.78 MB / 1.107 GB Notification: Performance of matching and sorting (n=11): time 0.04673/1.195, allocations: 14.92 MB / 1.257 GB, free: 9.875 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/1.195, allocations: 52.56 kB / 1.257 GB, free: 9.812 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.66e-05/1.195, allocations: 93.8 kB / 1.257 GB, free: 9.715 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/1.195, allocations: 33.83 kB / 1.257 GB, free: 9.676 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 4.949e-05/1.195, allocations: 85.39 kB / 1.257 GB, free: 9.59 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.782e-05/1.195, allocations: 43.44 kB / 1.257 GB, free: 9.555 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.869e-05/1.195, allocations: 39.3 kB / 1.257 GB, free: 9.523 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001488/1.195, allocations: 313.8 kB / 1.257 GB, free: 9.211 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.949e-05/1.195, allocations: 27.88 kB / 1.257 GB, free: 9.199 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.804e-05/1.195, allocations: 25.11 kB / 1.257 GB, free: 9.191 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/1.196, allocations: 60.17 kB / 1.257 GB, free: 9.16 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/1.196, allocations: 2.016 kB / 1.257 GB, free: 9.16 MB / 1.107 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002246/1.196, allocations: 107.4 kB / 1.257 GB, free: 9.098 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/1.196, allocations: 5.812 kB / 1.258 GB, free: 9.098 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/1.196, allocations: 4.609 kB / 1.258 GB, free: 9.094 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/1.196, allocations: 1.656 kB / 1.258 GB, free: 9.094 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/1.196, allocations: 26 kB / 1.258 GB, free: 9.09 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/1.196, allocations: 1.281 kB / 1.258 GB, free: 9.09 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.971e-05/1.196, allocations: 5.375 kB / 1.258 GB, free: 9.086 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/1.196, allocations: 4.359 kB / 1.258 GB, free: 9.086 MB / 1.107 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.0001091/1.196, allocations: 117.3 kB / 1.258 GB, free: 8.965 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.419e-05/1.196, allocations: 6.797 kB / 1.258 GB, free: 8.961 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002968/1.197, allocations: 124.7 kB / 1.258 GB, free: 8.887 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/1.197, allocations: 1.844 kB / 1.258 GB, free: 8.887 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/1.197, allocations: 1.188 kB / 1.258 GB, free: 8.887 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.197, allocations: 4.547 kB / 1.258 GB, free: 8.883 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/1.197, allocations: 118.1 kB / 1.258 GB, free: 8.75 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/1.197, allocations: 4.688 kB / 1.258 GB, free: 8.746 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/1.197, allocations: 25.09 kB / 1.258 GB, free: 8.746 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/1.197, allocations: 0 / 1.258 GB, free: 8.746 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/1.197, allocations: 14.59 kB / 1.258 GB, free: 8.734 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/1.197, allocations: 1.062 kB / 1.258 GB, free: 8.734 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.197, allocations: 0.8438 kB / 1.258 GB, free: 8.734 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/1.197, allocations: 156.8 kB / 1.258 GB, free: 8.633 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 5.539e-05/1.197, allocations: 11.8 kB / 1.258 GB, free: 8.629 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/1.197, allocations: 5.188 kB / 1.258 GB, free: 8.625 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/1.197, allocations: 11.64 kB / 1.258 GB, free: 8.625 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.486e-05/1.197, allocations: 7.047 kB / 1.258 GB, free: 8.625 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/1.197, allocations: 12.23 kB / 1.258 GB, free: 8.617 MB / 1.107 GB Notification: Performance of sorting global known variables: time 5.379e-05/1.197, allocations: 80.59 kB / 1.258 GB, free: 8.539 MB / 1.107 GB Notification: Performance of sort global known variables: time 1e-07/1.197, allocations: 0 / 1.258 GB, free: 8.539 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002818/1.2, allocations: 0.5692 MB / 1.259 GB, free: 8.508 MB / 1.107 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.003256/1.204, allocations: 357.2 kB / 1.259 GB, free: 8.359 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0002547/1.204, allocations: 64.77 kB / 1.259 GB, free: 8.34 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.204, allocations: 0 / 1.259 GB, free: 8.34 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 7.121e-05/1.204, allocations: 39.31 kB / 1.259 GB, free: 8.324 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/1.204, allocations: 12.58 kB / 1.259 GB, free: 8.316 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006605/1.205, allocations: 341.6 kB / 1.26 GB, free: 8.047 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.686e-05/1.205, allocations: 68.05 kB / 1.26 GB, free: 7.977 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 8.473e-05/1.205, allocations: 25.5 kB / 1.26 GB, free: 7.965 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.293e-05/1.205, allocations: 19.7 kB / 1.26 GB, free: 7.953 MB / 1.107 GB Notification: Performance of SimCode: time 3.21e-07/1.205, allocations: 0 / 1.26 GB, free: 7.953 MB / 1.107 GB Notification: Performance of Templates: time 0.04747/1.252, allocations: 24.27 MB / 1.283 GB, free: 13.72 MB / 1.123 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 -s ida -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/jenkins1/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: 12.503543994971551]