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.001473/0.001473, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001542/0.001542, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.502/1.502, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.226/3.226, allocations: 0.49 GB / 0.7916 GB, free: 33.48 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.002158/0.002158, allocations: 78.45 kB / 1.149 GB, free: 26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4502/0.4523, allocations: 176.1 MB / 1.321 GB, free: 2.895 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002485/0.4548, allocations: 1.281 MB / 1.322 GB, free: 1.602 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1824/0.6372, allocations: 140.9 MB / 1.46 GB, free: 4.113 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.9e-05/0.6372, allocations: 0 / 1.46 GB, free: 4.113 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 2.999e-05/0.6373, allocations: 3.938 kB / 1.46 GB, free: 4.109 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 5.955e-05/0.6373, allocations: 11.97 kB / 1.46 GB, free: 4.098 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.6388, allocations: 466.3 kB / 1.461 GB, free: 3.641 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.6389, allocations: 43.84 kB / 1.461 GB, free: 3.598 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.157e-05/0.639, allocations: 4 kB / 1.461 GB, free: 3.594 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 5.418e-05/0.639, allocations: 23.91 kB / 1.461 GB, free: 3.57 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 7.671e-05/0.6391, allocations: 15.92 kB / 1.461 GB, free: 3.555 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.6391, allocations: 4 kB / 1.461 GB, free: 3.551 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00165/0.6408, allocations: 0.8348 MB / 1.461 GB, free: 2.715 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.6408, allocations: 15.97 kB / 1.461 GB, free: 2.699 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.6408, allocations: 11.94 kB / 1.461 GB, free: 2.688 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0007271/0.6416, allocations: 447 kB / 1.462 GB, free: 2.25 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.6416, allocations: 0 / 1.462 GB, free: 2.25 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6416, allocations: 0 / 1.462 GB, free: 2.25 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.6416, allocations: 0 / 1.462 GB, free: 2.25 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.0006351/0.6422, allocations: 387.2 kB / 1.462 GB, free: 1.824 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.6422, allocations: 11.98 kB / 1.462 GB, free: 1.812 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001921/0.6424, allocations: 8.938 kB / 1.462 GB, free: 1.805 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.6426, allocations: 160.4 kB / 1.462 GB, free: 1.609 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.6426, allocations: 4.375 kB / 1.462 GB, free: 1.605 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.6426, allocations: 16.11 kB / 1.462 GB, free: 1.59 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.6428, allocations: 49.62 kB / 1.463 GB, free: 1.535 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.6428, allocations: 0 / 1.463 GB, free: 1.535 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.6428, allocations: 8 kB / 1.463 GB, free: 1.527 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.6428, allocations: 0 / 1.463 GB, free: 1.527 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.046e-05/0.6429, allocations: 27.97 kB / 1.463 GB, free: 1.5 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000214/0.6431, allocations: 161.6 kB / 1.463 GB, free: 1.293 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.6432, allocations: 50.5 kB / 1.463 GB, free: 1.234 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.971e-05/0.6433, allocations: 20.78 kB / 1.463 GB, free: 1.211 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01185/0.6551, allocations: 3.213 MB / 1.466 GB, free: 13.9 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/0.6552, allocations: 38.5 kB / 1.466 GB, free: 13.85 MB / 1.17 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.6552, allocations: 0 / 1.466 GB, free: 13.85 MB / 1.17 GB Notification: Performance of matching and sorting (n=11): time 0.04493/0.7001, allocations: 14.99 MB / 1.481 GB, free: 14.71 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.7001, allocations: 59.41 kB / 1.481 GB, free: 14.64 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.16e-05/0.7002, allocations: 93.86 kB / 1.481 GB, free: 14.54 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.7003, allocations: 25.7 kB / 1.481 GB, free: 14.51 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 3.351e-05/0.7003, allocations: 80.14 kB / 1.481 GB, free: 14.43 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.43e-05/0.7003, allocations: 47.64 kB / 1.481 GB, free: 14.38 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.88e-05/0.7004, allocations: 29.7 kB / 1.481 GB, free: 14.34 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.7005, allocations: 318.8 kB / 1.481 GB, free: 14.02 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.976e-05/0.7006, allocations: 28.05 kB / 1.481 GB, free: 14 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.697e-05/0.7006, allocations: 27.98 kB / 1.481 GB, free: 13.97 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.7008, allocations: 65.8 kB / 1.481 GB, free: 13.9 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.7008, allocations: 0 / 1.481 GB, free: 13.9 MB / 1.186 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000235/0.701, allocations: 102.3 kB / 1.481 GB, free: 13.8 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.701, allocations: 4 kB / 1.481 GB, free: 13.79 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.701, allocations: 0 / 1.481 GB, free: 13.79 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.7011, allocations: 4 kB / 1.481 GB, free: 13.79 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.7012, allocations: 27.92 kB / 1.481 GB, free: 13.76 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.7012, allocations: 0 / 1.481 GB, free: 13.76 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.778e-05/0.7012, allocations: 4 kB / 1.481 GB, free: 13.76 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.7012, allocations: 8 kB / 1.481 GB, free: 13.75 MB / 1.186 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.696e-05/0.7013, allocations: 117.8 kB / 1.482 GB, free: 13.62 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-05/0.7014, allocations: 3.953 kB / 1.482 GB, free: 13.62 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002854/0.7017, allocations: 129.4 kB / 1.482 GB, free: 13.49 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.7017, allocations: 4 kB / 1.482 GB, free: 13.48 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.7017, allocations: 4 kB / 1.482 GB, free: 13.48 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.7017, allocations: 7.984 kB / 1.482 GB, free: 13.47 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.7018, allocations: 181.6 kB / 1.482 GB, free: 13.25 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.7018, allocations: 0 / 1.482 GB, free: 13.25 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.702, allocations: 20 kB / 1.482 GB, free: 13.23 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.702, allocations: 0 / 1.482 GB, free: 13.23 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.702, allocations: 3.984 kB / 1.482 GB, free: 13.22 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.702, allocations: 0 / 1.482 GB, free: 13.22 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.702, allocations: 0 / 1.482 GB, free: 13.22 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.7023, allocations: 165 kB / 1.482 GB, free: 13.04 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 8.753e-05/0.7024, allocations: 93.12 kB / 1.482 GB, free: 12.93 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.7024, allocations: 4 kB / 1.482 GB, free: 12.93 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.7026, allocations: 15.94 kB / 1.482 GB, free: 12.91 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.75e-05/0.7026, allocations: 12.06 kB / 1.482 GB, free: 12.9 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.7026, allocations: 4 kB / 1.482 GB, free: 12.9 MB / 1.186 GB Notification: Performance of sorting global known variables: time 3.814e-05/0.7026, allocations: 79.28 kB / 1.482 GB, free: 12.82 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.7026, allocations: 0 / 1.482 GB, free: 12.82 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001913/0.7045, allocations: 0.5699 MB / 1.483 GB, free: 12.25 MB / 1.186 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.004024/0.7086, allocations: 356.6 kB / 1.483 GB, free: 11.89 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0002241/0.7088, allocations: 67.91 kB / 1.483 GB, free: 11.83 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.7088, allocations: 0 / 1.483 GB, free: 11.83 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 7.187e-05/0.7089, allocations: 27.98 kB / 1.483 GB, free: 11.8 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.7091, allocations: 7.938 kB / 1.483 GB, free: 11.79 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007395/0.7098, allocations: 361.4 kB / 1.484 GB, free: 11.41 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.7102, allocations: 0.6923 MB / 1.484 GB, free: 10.7 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 8.228e-05/0.7103, allocations: 24.53 kB / 1.484 GB, free: 10.67 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.147e-05/0.7103, allocations: 15.44 kB / 1.484 GB, free: 10.66 MB / 1.186 GB Notification: Performance of SimCode: time 7.22e-07/0.7103, allocations: 0 / 1.484 GB, free: 10.66 MB / 1.186 GB Notification: Performance of Templates: time 0.03988/0.7502, allocations: 24.29 MB / 1.508 GB, free: 2.348 MB / 1.201 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 -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/jenkins/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: 13.167268976569176]