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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 115 kB / 17.08 MB, free: 5.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 193.2 kB / 20.02 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.983/2.983, allocations: 489.3 MB / 0.7687 GB, free: 3.762 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 71.89 kB / 1.103 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8548/0.8567, allocations: 163.8 MB / 1.263 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002164/0.8589, allocations: 1.257 MB / 1.264 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1743/1.033, allocations: 137.7 MB / 1.398 GB, free: 2.301 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.389e-05/1.033, allocations: 0 / 1.398 GB, free: 2.301 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 2.689e-05/1.033, allocations: 4.969 kB / 1.398 GB, free: 2.297 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 5.265e-05/1.033, allocations: 11.92 kB / 1.398 GB, free: 2.285 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001391/1.035, allocations: 456.7 kB / 1.399 GB, free: 1.965 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 9.323e-05/1.035, allocations: 44.16 kB / 1.399 GB, free: 1.941 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 3.343e-05/1.035, allocations: 2.625 kB / 1.399 GB, free: 1.941 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 4.632e-05/1.035, allocations: 26.75 kB / 1.399 GB, free: 1.926 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 7.642e-05/1.035, allocations: 22.72 kB / 1.399 GB, free: 1.91 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/1.035, allocations: 2.719 kB / 1.399 GB, free: 1.91 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001509/1.037, allocations: 0.8231 MB / 1.4 GB, free: 1.484 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 2.317e-05/1.037, allocations: 13.5 kB / 1.4 GB, free: 1.473 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/1.037, allocations: 23.98 kB / 1.4 GB, free: 1.457 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0006366/1.037, allocations: 445.7 kB / 1.4 GB, free: 1.18 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/1.037, allocations: 0 / 1.4 GB, free: 1.18 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.513e-06/1.037, allocations: 0 / 1.4 GB, free: 1.18 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.999e-06/1.037, allocations: 1.219 kB / 1.4 GB, free: 1.18 MB / 1.092 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.0005743/1.038, allocations: 368.4 kB / 1.4 GB, free: 0.8008 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/1.038, allocations: 9.594 kB / 1.4 GB, free: 0.8008 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/1.038, allocations: 13.45 kB / 1.4 GB, free: 0.7969 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/1.038, allocations: 165.5 kB / 1.401 GB, free: 0.5977 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/1.038, allocations: 5.5 kB / 1.401 GB, free: 0.5938 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/1.038, allocations: 11.78 kB / 1.401 GB, free: 0.5859 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/1.039, allocations: 57.83 kB / 1.401 GB, free: 0.5352 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/1.039, allocations: 1.438 kB / 1.401 GB, free: 0.5352 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/1.039, allocations: 0 / 1.401 GB, free: 0.5352 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/1.039, allocations: 1.312 kB / 1.401 GB, free: 0.5352 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.314e-05/1.039, allocations: 18.58 kB / 1.401 GB, free: 0.5273 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001847/1.039, allocations: 157.4 kB / 1.401 GB, free: 340 kB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/1.039, allocations: 56.33 kB / 1.401 GB, free: 296 kB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.738e-05/1.039, allocations: 27.44 kB / 1.401 GB, free: 272 kB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01128/1.05, allocations: 3.207 MB / 1.404 GB, free: 14.68 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.97e-05/1.05, allocations: 39.55 kB / 1.404 GB, free: 14.63 MB / 1.107 GB Notification: Performance of pre-optimization done (n=7): time 2.415e-06/1.05, allocations: 1.156 kB / 1.404 GB, free: 14.63 MB / 1.107 GB Notification: Performance of matching and sorting (n=11): time 0.04202/1.092, allocations: 14.98 MB / 1.419 GB, free: 7.914 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/1.093, allocations: 55.41 kB / 1.419 GB, free: 7.848 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.239e-05/1.093, allocations: 93.86 kB / 1.419 GB, free: 7.746 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/1.093, allocations: 29.7 kB / 1.419 GB, free: 7.711 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 4.266e-05/1.093, allocations: 84.27 kB / 1.419 GB, free: 7.625 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/1.093, allocations: 43.64 kB / 1.419 GB, free: 7.582 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.454e-05/1.093, allocations: 29.7 kB / 1.419 GB, free: 7.547 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001431/1.093, allocations: 322.8 kB / 1.419 GB, free: 7.223 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.91e-05/1.093, allocations: 23.92 kB / 1.419 GB, free: 7.199 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.499e-05/1.093, allocations: 23.98 kB / 1.419 GB, free: 7.176 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/1.093, allocations: 68.73 kB / 1.419 GB, free: 7.105 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/1.093, allocations: 0 / 1.419 GB, free: 7.105 MB / 1.107 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002206/1.093, allocations: 108.9 kB / 1.42 GB, free: 6.996 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/1.093, allocations: 8 kB / 1.42 GB, free: 6.988 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/1.093, allocations: 4 kB / 1.42 GB, free: 6.984 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/1.093, allocations: 0 / 1.42 GB, free: 6.984 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/1.094, allocations: 23.98 kB / 1.42 GB, free: 6.961 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/1.094, allocations: 3.938 kB / 1.42 GB, free: 6.957 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.647e-05/1.094, allocations: 4 kB / 1.42 GB, free: 6.953 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/1.094, allocations: 4.234 kB / 1.42 GB, free: 6.949 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 8.642e-05/1.094, allocations: 117.8 kB / 1.42 GB, free: 6.824 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.199e-05/1.094, allocations: 4 kB / 1.42 GB, free: 6.82 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002732/1.094, allocations: 129.4 kB / 1.42 GB, free: 6.688 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/1.094, allocations: 4 kB / 1.42 GB, free: 6.684 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/1.094, allocations: 7.922 kB / 1.42 GB, free: 6.676 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/1.094, allocations: 3.984 kB / 1.42 GB, free: 6.672 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/1.094, allocations: 181.6 kB / 1.42 GB, free: 6.445 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.094, allocations: 0 / 1.42 GB, free: 6.445 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/1.094, allocations: 27.98 kB / 1.42 GB, free: 6.418 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/1.094, allocations: 0 / 1.42 GB, free: 6.418 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/1.094, allocations: 4 kB / 1.42 GB, free: 6.414 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/1.094, allocations: 4 kB / 1.42 GB, free: 6.41 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/1.094, allocations: 0 / 1.42 GB, free: 6.41 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003009/1.095, allocations: 149.1 kB / 1.42 GB, free: 6.246 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 7.357e-05/1.095, allocations: 96.92 kB / 1.42 GB, free: 6.133 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/1.095, allocations: 0 / 1.42 GB, free: 6.133 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/1.095, allocations: 23.92 kB / 1.42 GB, free: 6.109 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.924e-05/1.095, allocations: 4 kB / 1.42 GB, free: 6.105 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/1.095, allocations: 12 kB / 1.42 GB, free: 6.094 MB / 1.107 GB Notification: Performance of sorting global known variables: time 4.312e-05/1.095, allocations: 79.27 kB / 1.42 GB, free: 6.016 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.2e-07/1.095, allocations: 0 / 1.42 GB, free: 6.016 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001772/1.097, allocations: 0.5622 MB / 1.421 GB, free: 5.453 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.003022/1.1, allocations: 350.8 kB / 1.421 GB, free: 5.102 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0002114/1.1, allocations: 67.91 kB / 1.421 GB, free: 5.035 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/1.1, allocations: 0 / 1.421 GB, free: 5.035 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 6.587e-05/1.1, allocations: 32.31 kB / 1.421 GB, free: 5.004 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/1.1, allocations: 17.86 kB / 1.421 GB, free: 4.988 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006197/1.101, allocations: 371.3 kB / 1.422 GB, free: 4.59 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/1.101, allocations: 0.6961 MB / 1.422 GB, free: 3.867 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.498e-05/1.101, allocations: 15.44 kB / 1.422 GB, free: 3.852 MB / 1.107 GB Notification: Performance of SimCode: time 2.5e-07/1.101, allocations: 4 kB / 1.422 GB, free: 3.848 MB / 1.107 GB Notification: Performance of Templates: time 0.02285/1.124, allocations: 14.34 MB / 1.436 GB, free: 5.512 MB / 1.123 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 12.026569575071335]