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.00177/0.00177, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002153/0.002153, allocations: 213.5 kB / 22.99 MB, free: 4.957 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.553/1.553, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.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 3.336/3.336, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 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.002092/0.002092, allocations: 66.48 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4348/0.4369, allocations: 176.1 MB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002582/0.4395, allocations: 1.28 MB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1707/0.6102, allocations: 120.9 MB / 1.446 GB, free: 6.367 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.524e-05/0.6103, allocations: 0 / 1.446 GB, free: 6.367 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 1.914e-05/0.6103, allocations: 0 / 1.446 GB, free: 6.367 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 6.689e-05/0.6103, allocations: 7.875 kB / 1.446 GB, free: 6.359 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001495/0.6118, allocations: 470.2 kB / 1.447 GB, free: 5.898 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 9.97e-05/0.6119, allocations: 39.89 kB / 1.447 GB, free: 5.859 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.436e-05/0.612, allocations: 4 kB / 1.447 GB, free: 5.855 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 5.854e-05/0.612, allocations: 27.86 kB / 1.447 GB, free: 5.828 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 7.762e-05/0.6121, allocations: 19.97 kB / 1.447 GB, free: 5.809 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.6121, allocations: 0 / 1.447 GB, free: 5.809 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/0.6137, allocations: 0.8193 MB / 1.448 GB, free: 4.988 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 1.93e-05/0.6137, allocations: 7.938 kB / 1.448 GB, free: 4.98 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 2.604e-05/0.6138, allocations: 11.98 kB / 1.448 GB, free: 4.969 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0006059/0.6144, allocations: 455 kB / 1.448 GB, free: 4.523 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.6144, allocations: 4 kB / 1.448 GB, free: 4.52 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.263e-06/0.6144, allocations: 0 / 1.448 GB, free: 4.52 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.6144, allocations: 0 / 1.448 GB, free: 4.52 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.0005367/0.6149, allocations: 294.1 kB / 1.448 GB, free: 4.203 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.615, allocations: 12.03 kB / 1.448 GB, free: 4.191 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001815/0.6151, allocations: 8.938 kB / 1.448 GB, free: 4.184 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.93e-05/0.6152, allocations: 110.5 kB / 1.449 GB, free: 4.051 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.6153, allocations: 4.375 kB / 1.449 GB, free: 4.047 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.6153, allocations: 8.125 kB / 1.449 GB, free: 4.039 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.6155, allocations: 138.7 kB / 1.449 GB, free: 3.879 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.6155, allocations: 0 / 1.449 GB, free: 3.879 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.6155, allocations: 0 / 1.449 GB, free: 3.879 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.6155, allocations: 0 / 1.449 GB, free: 3.879 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.177e-05/0.6156, allocations: 27.91 kB / 1.449 GB, free: 3.852 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001635/0.6157, allocations: 117.2 kB / 1.449 GB, free: 3.707 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.6159, allocations: 50.55 kB / 1.449 GB, free: 3.648 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.883e-05/0.6159, allocations: 9.094 kB / 1.449 GB, free: 3.637 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0116/0.6275, allocations: 2.876 MB / 1.452 GB, free: 0.7578 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.36e-05/0.6275, allocations: 38.5 kB / 1.452 GB, free: 0.7109 MB / 1.139 GB Notification: Performance of pre-optimization done (n=7): time 1.763e-06/0.6275, allocations: 0 / 1.452 GB, free: 0.7109 MB / 1.139 GB Notification: Performance of matching and sorting (n=11): time 0.04371/0.6713, allocations: 14.93 MB / 1.466 GB, free: 1.648 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.6713, allocations: 51.41 kB / 1.466 GB, free: 1.586 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.226e-05/0.6714, allocations: 93.84 kB / 1.466 GB, free: 1.484 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.6714, allocations: 33.7 kB / 1.466 GB, free: 1.445 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.6715, allocations: 84.27 kB / 1.467 GB, free: 1.359 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.497e-05/0.6716, allocations: 35.69 kB / 1.467 GB, free: 1.324 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-05/0.6716, allocations: 37.67 kB / 1.467 GB, free: 1.281 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.6718, allocations: 314.8 kB / 1.467 GB, free: 0.9648 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.923e-05/0.6718, allocations: 24 kB / 1.467 GB, free: 0.9414 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.987e-05/0.6719, allocations: 29.23 kB / 1.467 GB, free: 0.9141 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.672, allocations: 58.47 kB / 1.467 GB, free: 0.8555 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.672, allocations: 3.938 kB / 1.467 GB, free: 0.8516 MB / 1.154 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002253/0.6723, allocations: 101.6 kB / 1.467 GB, free: 0.7461 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.6723, allocations: 5.875 kB / 1.467 GB, free: 0.7422 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.6723, allocations: 0 / 1.467 GB, free: 0.7422 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.6723, allocations: 4 kB / 1.467 GB, free: 0.7383 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.6724, allocations: 27.98 kB / 1.467 GB, free: 0.7109 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.6724, allocations: 0 / 1.467 GB, free: 0.7109 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.022e-05/0.6725, allocations: 4 kB / 1.467 GB, free: 0.707 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.6725, allocations: 4 kB / 1.467 GB, free: 0.7031 MB / 1.154 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.000103/0.6726, allocations: 126.2 kB / 1.467 GB, free: 0.5703 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.353e-05/0.6726, allocations: 7.953 kB / 1.467 GB, free: 0.5625 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002959/0.6729, allocations: 133.3 kB / 1.467 GB, free: 436 kB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.6729, allocations: 0 / 1.467 GB, free: 436 kB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.6729, allocations: 0 / 1.467 GB, free: 436 kB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.6729, allocations: 0 / 1.467 GB, free: 436 kB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.6731, allocations: 125.2 kB / 1.468 GB, free: 280 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.6731, allocations: 0 / 1.468 GB, free: 280 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.6732, allocations: 23.94 kB / 1.468 GB, free: 256 kB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.6732, allocations: 3.984 kB / 1.468 GB, free: 252 kB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.6732, allocations: 8 kB / 1.468 GB, free: 244 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.6732, allocations: 0 / 1.468 GB, free: 244 kB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.6732, allocations: 4 kB / 1.468 GB, free: 240 kB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.6735, allocations: 153 kB / 1.468 GB, free: 68 kB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 5.216e-05/0.6736, allocations: 19.97 kB / 1.468 GB, free: 48 kB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.6736, allocations: 4 kB / 1.468 GB, free: 44 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.6738, allocations: 12 kB / 1.468 GB, free: 32 kB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.123e-05/0.6738, allocations: 3.984 kB / 1.468 GB, free: 28 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.6738, allocations: 15.98 kB / 1.468 GB, free: 12 kB / 1.154 GB Notification: Performance of sorting global known variables: time 6.4e-05/0.6739, allocations: 79.28 kB / 1.468 GB, free: 15.93 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.6739, allocations: 4.094 kB / 1.468 GB, free: 15.93 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0018/0.6757, allocations: 0.566 MB / 1.468 GB, free: 15.36 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.00305/0.6787, allocations: 361.6 kB / 1.469 GB, free: 15 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0002004/0.6789, allocations: 63.91 kB / 1.469 GB, free: 14.94 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6789, allocations: 0 / 1.469 GB, free: 14.94 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 6.958e-05/0.679, allocations: 35.92 kB / 1.469 GB, free: 14.91 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.6792, allocations: 16.42 kB / 1.469 GB, free: 14.89 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007138/0.6799, allocations: 334.4 kB / 1.469 GB, free: 14.54 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.024e-05/0.68, allocations: 75.33 kB / 1.469 GB, free: 14.44 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 8.27e-05/0.68, allocations: 24.55 kB / 1.469 GB, free: 14.42 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.6801, allocations: 19.44 kB / 1.469 GB, free: 14.4 MB / 1.17 GB Notification: Performance of SimCode: time 5.92e-07/0.6801, allocations: 0 / 1.469 GB, free: 14.4 MB / 1.17 GB Notification: Performance of Templates: time 0.03949/0.7196, allocations: 24.33 MB / 1.493 GB, free: 6.055 MB / 1.186 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 cvode -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: 15.819386981005664]