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.001441/0.001441, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00152/0.00152, allocations: 213.6 kB / 22.25 MB, free: 5.258 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.576/1.576, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.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 3.57/3.57, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 MB / 0.6231 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.003142/0.003142, allocations: 69.44 kB / 1.186 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4356/0.4388, allocations: 181.9 MB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002465/0.4412, allocations: 1.278 MB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1684/0.6096, allocations: 120.9 MB / 1.483 GB, free: 2.918 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.223e-05/0.6097, allocations: 4 kB / 1.483 GB, free: 2.914 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 2.589e-05/0.6097, allocations: 3.938 kB / 1.483 GB, free: 2.91 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 6.619e-05/0.6098, allocations: 4 kB / 1.483 GB, free: 2.906 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001823/0.6116, allocations: 470.2 kB / 1.484 GB, free: 2.445 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.6117, allocations: 39.84 kB / 1.484 GB, free: 2.406 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 5.316e-05/0.6118, allocations: 11.98 kB / 1.484 GB, free: 2.395 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 5.254e-05/0.6118, allocations: 15.98 kB / 1.484 GB, free: 2.379 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.6119, allocations: 23.84 kB / 1.484 GB, free: 2.355 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.612, allocations: 4 kB / 1.484 GB, free: 2.352 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/0.6137, allocations: 0.7958 MB / 1.484 GB, free: 1.555 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 2.885e-05/0.6137, allocations: 11.97 kB / 1.484 GB, free: 1.543 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 4.087e-05/0.6137, allocations: 19.94 kB / 1.484 GB, free: 1.523 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0006775/0.6144, allocations: 447 kB / 1.485 GB, free: 1.086 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.6144, allocations: 0 / 1.485 GB, free: 1.086 MB / 1.17 GB Notification: Performance of FrontEnd: time 5.22e-06/0.6144, allocations: 4 kB / 1.485 GB, free: 1.082 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.6144, allocations: 0 / 1.485 GB, free: 1.082 MB / 1.17 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.0006145/0.6151, allocations: 290.1 kB / 1.485 GB, free: 0.7695 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.6151, allocations: 12.03 kB / 1.485 GB, free: 0.7578 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002069/0.6153, allocations: 12.92 kB / 1.485 GB, free: 0.7461 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.6154, allocations: 106.5 kB / 1.485 GB, free: 0.6172 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.6154, allocations: 8.312 kB / 1.485 GB, free: 0.6094 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.6155, allocations: 16.12 kB / 1.485 GB, free: 0.5938 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.6157, allocations: 130.8 kB / 1.485 GB, free: 452 kB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.6157, allocations: 0 / 1.485 GB, free: 452 kB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.6157, allocations: 0 / 1.485 GB, free: 452 kB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.6157, allocations: 0 / 1.485 GB, free: 452 kB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.903e-05/0.6158, allocations: 19.98 kB / 1.485 GB, free: 432 kB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001677/0.616, allocations: 109.3 kB / 1.486 GB, free: 292 kB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.6161, allocations: 50.5 kB / 1.486 GB, free: 232 kB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.936e-05/0.6161, allocations: 12.86 kB / 1.486 GB, free: 216 kB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01116/0.6273, allocations: 2.884 MB / 1.488 GB, free: 13.32 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/0.6273, allocations: 34.5 kB / 1.488 GB, free: 13.28 MB / 1.186 GB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.6273, allocations: 4 kB / 1.488 GB, free: 13.28 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.04301/0.6703, allocations: 14.91 MB / 1.503 GB, free: 14.23 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.6704, allocations: 59.34 kB / 1.503 GB, free: 14.16 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.712e-05/0.6704, allocations: 97.84 kB / 1.503 GB, free: 14.06 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.6705, allocations: 33.83 kB / 1.503 GB, free: 14.02 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 3.776e-05/0.6705, allocations: 80.14 kB / 1.503 GB, free: 13.94 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.62e-05/0.6705, allocations: 43.64 kB / 1.503 GB, free: 13.89 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.816e-05/0.6706, allocations: 29.72 kB / 1.503 GB, free: 13.86 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.6707, allocations: 318.8 kB / 1.504 GB, free: 13.54 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.147e-05/0.6708, allocations: 19.98 kB / 1.504 GB, free: 13.52 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.777e-05/0.6708, allocations: 29.69 kB / 1.504 GB, free: 13.49 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.6709, allocations: 60.84 kB / 1.504 GB, free: 13.43 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6709, allocations: 3.938 kB / 1.504 GB, free: 13.43 MB / 1.201 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000213/0.6712, allocations: 108.5 kB / 1.504 GB, free: 13.32 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.6712, allocations: 11.94 kB / 1.504 GB, free: 13.3 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.6712, allocations: 7.984 kB / 1.504 GB, free: 13.3 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.6712, allocations: 0 / 1.504 GB, free: 13.3 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.6713, allocations: 23.94 kB / 1.504 GB, free: 13.27 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.6713, allocations: 0 / 1.504 GB, free: 13.27 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.601e-05/0.6713, allocations: 4 kB / 1.504 GB, free: 13.27 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.6713, allocations: 7.984 kB / 1.504 GB, free: 13.26 MB / 1.201 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 8.728e-05/0.6714, allocations: 117.8 kB / 1.504 GB, free: 13.14 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.927e-05/0.6715, allocations: 4 kB / 1.504 GB, free: 13.13 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.6717, allocations: 133.3 kB / 1.504 GB, free: 12.99 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.6717, allocations: 0 / 1.504 GB, free: 12.99 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.6717, allocations: 0 / 1.504 GB, free: 12.99 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.6717, allocations: 0 / 1.504 GB, free: 12.99 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.6719, allocations: 125.2 kB / 1.504 GB, free: 12.84 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.6719, allocations: 0 / 1.504 GB, free: 12.84 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.672, allocations: 27.98 kB / 1.504 GB, free: 12.81 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.672, allocations: 0 / 1.504 GB, free: 12.81 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.672, allocations: 4 kB / 1.504 GB, free: 12.81 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.672, allocations: 4 kB / 1.504 GB, free: 12.8 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.672, allocations: 0 / 1.504 GB, free: 12.8 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.6723, allocations: 164.8 kB / 1.504 GB, free: 12.62 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 5.042e-05/0.6723, allocations: 15.98 kB / 1.505 GB, free: 12.61 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.6724, allocations: 4 kB / 1.505 GB, free: 12.61 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.6725, allocations: 11.98 kB / 1.505 GB, free: 12.59 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.914e-05/0.6725, allocations: 11.94 kB / 1.505 GB, free: 12.58 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.6725, allocations: 7.984 kB / 1.505 GB, free: 12.57 MB / 1.201 GB Notification: Performance of sorting global known variables: time 3.707e-05/0.6726, allocations: 83.28 kB / 1.505 GB, free: 12.49 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.6726, allocations: 0 / 1.505 GB, free: 12.49 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001752/0.6743, allocations: 0.566 MB / 1.505 GB, free: 11.93 MB / 1.201 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.00273/0.677, allocations: 358.9 kB / 1.506 GB, free: 11.57 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0001695/0.6772, allocations: 67.84 kB / 1.506 GB, free: 11.5 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6772, allocations: 0 / 1.506 GB, free: 11.5 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 6.526e-05/0.6773, allocations: 35.92 kB / 1.506 GB, free: 11.46 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.6775, allocations: 12.48 kB / 1.506 GB, free: 11.45 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006104/0.6781, allocations: 326.5 kB / 1.506 GB, free: 11.11 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.935e-05/0.6781, allocations: 79.19 kB / 1.506 GB, free: 11.01 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 8.018e-05/0.6782, allocations: 24.53 kB / 1.506 GB, free: 10.98 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.6782, allocations: 23.42 kB / 1.506 GB, free: 10.96 MB / 1.201 GB Notification: Performance of SimCode: time 4.81e-07/0.6782, allocations: 0 / 1.506 GB, free: 10.96 MB / 1.201 GB Notification: Performance of Templates: time 0.04325/0.7215, allocations: 24.29 MB / 1.53 GB, free: 2.664 MB / 1.217 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 -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/jenkins/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.842486580833793]