Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001737/0.001737, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002036/0.002036, allocations: 161 kB / 23.01 MB, free: 4.602 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.411/1.411, allocations: 177.2 MB / 203.4 MB, free: 8.91 MB / 190.1 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 2.841/2.841, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_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_latest_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.002284/0.002284, allocations: 69.77 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071/1.074, allocations: 181.8 MB / 1.187 GB, free: 16.17 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002741/1.076, allocations: 1.269 MB / 1.188 GB, free: 15.29 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1727/1.249, allocations: 120.9 MB / 1.306 GB, free: 10.19 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.907e-05/1.249, allocations: 0 / 1.306 GB, free: 10.19 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 2.998e-05/1.249, allocations: 3.984 kB / 1.306 GB, free: 10.19 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 4.885e-05/1.249, allocations: 5 kB / 1.306 GB, free: 10.18 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00164/1.251, allocations: 460.4 kB / 1.306 GB, free: 9.859 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 9.558e-05/1.251, allocations: 35.38 kB / 1.306 GB, free: 9.844 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 3.807e-05/1.251, allocations: 10.45 kB / 1.306 GB, free: 9.836 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 5.128e-05/1.251, allocations: 23.81 kB / 1.306 GB, free: 9.824 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 8.182e-05/1.251, allocations: 22.97 kB / 1.306 GB, free: 9.809 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/1.251, allocations: 1.375 kB / 1.306 GB, free: 9.809 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001815/1.253, allocations: 0.8027 MB / 1.307 GB, free: 9.402 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/1.253, allocations: 7.406 kB / 1.307 GB, free: 9.398 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 3.603e-05/1.253, allocations: 14.41 kB / 1.307 GB, free: 9.391 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0009143/1.254, allocations: 447.6 kB / 1.308 GB, free: 9.113 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/1.254, allocations: 0 / 1.308 GB, free: 9.113 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.543e-06/1.254, allocations: 1.094 kB / 1.308 GB, free: 9.113 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.111e-05/1.254, allocations: 0 / 1.308 GB, free: 9.113 MB / 1.154 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.0007679/1.255, allocations: 297.6 kB / 1.308 GB, free: 8.824 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/1.255, allocations: 12.66 kB / 1.308 GB, free: 8.82 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002128/1.255, allocations: 12.86 kB / 1.308 GB, free: 8.816 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/1.255, allocations: 113 kB / 1.308 GB, free: 8.684 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/1.255, allocations: 1.75 kB / 1.308 GB, free: 8.684 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.59e-05/1.255, allocations: 15.8 kB / 1.308 GB, free: 8.672 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/1.255, allocations: 127.6 kB / 1.308 GB, free: 8.535 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/1.255, allocations: 3.938 kB / 1.308 GB, free: 8.531 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/1.255, allocations: 8.75 kB / 1.308 GB, free: 8.523 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/1.255, allocations: 0.9375 kB / 1.308 GB, free: 8.523 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.035e-05/1.255, allocations: 22.44 kB / 1.308 GB, free: 8.512 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001737/1.256, allocations: 105.2 kB / 1.308 GB, free: 8.387 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/1.256, allocations: 49.88 kB / 1.308 GB, free: 8.348 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.58e-05/1.256, allocations: 18.73 kB / 1.308 GB, free: 8.332 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.012/1.268, allocations: 2.869 MB / 1.311 GB, free: 6.188 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/1.268, allocations: 38.44 kB / 1.311 GB, free: 6.141 MB / 1.154 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/1.268, allocations: 0 / 1.311 GB, free: 6.141 MB / 1.154 GB Notification: Performance of matching and sorting (n=11): time 0.04381/1.312, allocations: 14.92 MB / 1.326 GB, free: 7.082 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/1.312, allocations: 51.41 kB / 1.326 GB, free: 7.02 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.091e-05/1.312, allocations: 93.86 kB / 1.326 GB, free: 6.918 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/1.312, allocations: 29.7 kB / 1.326 GB, free: 6.883 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 3.84e-05/1.312, allocations: 80.14 kB / 1.326 GB, free: 6.801 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.082e-05/1.312, allocations: 47.58 kB / 1.326 GB, free: 6.754 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.425e-05/1.312, allocations: 33.7 kB / 1.326 GB, free: 6.715 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001418/1.312, allocations: 310.8 kB / 1.326 GB, free: 6.402 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.539e-05/1.312, allocations: 23.98 kB / 1.326 GB, free: 6.379 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.078e-05/1.312, allocations: 31.98 kB / 1.326 GB, free: 6.348 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/1.312, allocations: 56.98 kB / 1.327 GB, free: 6.289 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.312, allocations: 7.875 kB / 1.327 GB, free: 6.281 MB / 1.17 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002341/1.312, allocations: 115.4 kB / 1.327 GB, free: 6.164 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/1.312, allocations: 7.938 kB / 1.327 GB, free: 6.156 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/1.312, allocations: 0 / 1.327 GB, free: 6.156 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/1.313, allocations: 0 / 1.327 GB, free: 6.156 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/1.313, allocations: 23.98 kB / 1.327 GB, free: 6.133 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/1.313, allocations: 0 / 1.327 GB, free: 6.133 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.036e-05/1.313, allocations: 8 kB / 1.327 GB, free: 6.125 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/1.313, allocations: 0 / 1.327 GB, free: 6.125 MB / 1.17 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.762e-05/1.313, allocations: 125.7 kB / 1.327 GB, free: 5.992 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.262e-05/1.313, allocations: 4 kB / 1.327 GB, free: 5.988 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/1.313, allocations: 125.5 kB / 1.327 GB, free: 5.855 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/1.313, allocations: 0 / 1.327 GB, free: 5.855 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.313, allocations: 0 / 1.327 GB, free: 5.855 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/1.313, allocations: 3.984 kB / 1.327 GB, free: 5.852 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/1.313, allocations: 121.2 kB / 1.327 GB, free: 5.703 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.313, allocations: 4 kB / 1.327 GB, free: 5.699 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/1.313, allocations: 31.92 kB / 1.327 GB, free: 5.668 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/1.313, allocations: 0 / 1.327 GB, free: 5.668 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/1.313, allocations: 7.938 kB / 1.327 GB, free: 5.66 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/1.313, allocations: 0 / 1.327 GB, free: 5.66 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/1.313, allocations: 0 / 1.327 GB, free: 5.66 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003069/1.314, allocations: 156.9 kB / 1.327 GB, free: 5.488 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 4.755e-05/1.314, allocations: 11.98 kB / 1.327 GB, free: 5.477 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/1.314, allocations: 4 kB / 1.327 GB, free: 5.473 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/1.314, allocations: 19.98 kB / 1.327 GB, free: 5.453 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.926e-05/1.314, allocations: 3.984 kB / 1.327 GB, free: 5.449 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/1.314, allocations: 8 kB / 1.327 GB, free: 5.441 MB / 1.17 GB Notification: Performance of sorting global known variables: time 4.055e-05/1.314, allocations: 83.22 kB / 1.327 GB, free: 5.359 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/1.314, allocations: 0 / 1.327 GB, free: 5.359 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001868/1.316, allocations: 0.566 MB / 1.328 GB, free: 4.793 MB / 1.17 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.002609/1.318, allocations: 358.8 kB / 1.328 GB, free: 4.434 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0001799/1.319, allocations: 67.91 kB / 1.328 GB, free: 4.367 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.319, allocations: 3.938 kB / 1.328 GB, free: 4.363 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 5.886e-05/1.319, allocations: 28 kB / 1.328 GB, free: 4.336 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/1.319, allocations: 19.92 kB / 1.328 GB, free: 4.316 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006009/1.319, allocations: 334.4 kB / 1.329 GB, free: 3.961 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.174e-05/1.32, allocations: 71.2 kB / 1.329 GB, free: 3.871 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 8.022e-05/1.32, allocations: 28.59 kB / 1.329 GB, free: 3.844 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/1.32, allocations: 24.44 kB / 1.329 GB, free: 3.82 MB / 1.17 GB Notification: Performance of SimCode: time 3e-07/1.32, allocations: 0 / 1.329 GB, free: 3.82 MB / 1.17 GB Notification: Performance of Templates: time 0.03796/1.358, allocations: 24.27 MB / 1.353 GB, free: 11.54 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.042464398080483]