Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.001398/0.001398, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.001674/0.001674, allocations: 207.9 kB / 23 MB, free: 4.965 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.848/2.848, allocations: 476 MB / 0.7707 GB, free: 4.723 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [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.002144/0.002144, allocations: 70.47 kB / 1.118 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4394/0.4415, allocations: 170 MB / 1.284 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.00245/0.444, allocations: 0.605 MB / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0006151/0.4446, allocations: 143.6 kB / 1.285 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.286e-05/0.4446, allocations: 0 / 1.285 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.38e-05/0.4446, allocations: 3.938 kB / 1.285 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.621e-05/0.4447, allocations: 0 / 1.285 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003997/0.4451, allocations: 42.02 kB / 1.285 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.562e-05/0.4451, allocations: 19.92 kB / 1.285 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.319e-05/0.4452, allocations: 0 / 1.285 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.505e-05/0.4452, allocations: 12 kB / 1.285 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.258e-05/0.4453, allocations: 15.91 kB / 1.285 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.4453, allocations: 0 / 1.285 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.49e-05/0.4454, allocations: 27.97 kB / 1.285 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.691e-05/0.4454, allocations: 4 kB / 1.285 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.047e-05/0.4455, allocations: 7.938 kB / 1.285 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.4456, allocations: 35.81 kB / 1.285 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4456, allocations: 0 / 1.285 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.645e-06/0.4456, allocations: 0 / 1.285 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.4456, allocations: 0 / 1.285 GB, free: 11.01 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004642/0.4461, allocations: 262.3 kB / 1.285 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.4461, allocations: 16.03 kB / 1.285 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.4461, allocations: 4.891 kB / 1.285 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.4463, allocations: 102.5 kB / 1.285 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.4463, allocations: 4.375 kB / 1.285 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.4463, allocations: 4.359 kB / 1.285 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.4465, allocations: 67.95 kB / 1.285 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.4465, allocations: 192 / 1.285 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.4465, allocations: 7.938 kB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.4465, allocations: 4 kB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.208e-05/0.4465, allocations: 11.98 kB / 1.285 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/0.4467, allocations: 117.2 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.4468, allocations: 42.62 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.789e-05/0.4469, allocations: 16.98 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.765e-05/0.447, allocations: 4 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.447, allocations: 38.55 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.447, allocations: 0 / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.001347/0.4484, allocations: 418.8 kB / 1.286 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.4484, allocations: 55.41 kB / 1.286 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.558e-05/0.4485, allocations: 89.86 kB / 1.286 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.4485, allocations: 29.83 kB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.609e-05/0.4486, allocations: 84.14 kB / 1.286 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.983e-05/0.4486, allocations: 27.73 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.4486, allocations: 21.72 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.4488, allocations: 318.8 kB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.801e-05/0.4488, allocations: 8 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.567e-05/0.4489, allocations: 12 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.234e-05/0.4489, allocations: 36.84 kB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.4489, allocations: 0 / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001283/0.4491, allocations: 78.05 kB / 1.287 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.4491, allocations: 4 kB / 1.287 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.4491, allocations: 7.938 kB / 1.287 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.4491, allocations: 0 / 1.287 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.953e-05/0.4492, allocations: 19.98 kB / 1.287 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.4492, allocations: 0 / 1.287 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.219e-05/0.4492, allocations: 0 / 1.287 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.4492, allocations: 4 kB / 1.287 GB, free: 8.902 MB / 0.9825 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 (8): * Single equations (assignments): 8 * 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.74e-05/0.4493, allocations: 113.8 kB / 1.287 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.4493, allocations: 0 / 1.287 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001962/0.4495, allocations: 89.41 kB / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4495, allocations: 4 kB / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4495, allocations: 3.938 kB / 1.287 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.4495, allocations: 3.984 kB / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.4497, allocations: 109.3 kB / 1.287 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4497, allocations: 0 / 1.287 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.039e-05/0.4497, allocations: 12 kB / 1.287 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.4497, allocations: 3.984 kB / 1.287 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.4498, allocations: 0 / 1.287 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.324e-05/0.4498, allocations: 3.938 kB / 1.287 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.4498, allocations: 0 / 1.287 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.45, allocations: 125.4 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-06/0.45, allocations: 4.031 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.45, allocations: 3.938 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.446e-05/0.45, allocations: 3.938 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.4501, allocations: 15.97 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-06/0.4501, allocations: 0 / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.655e-05/0.4501, allocations: 79.28 kB / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4501, allocations: 0 / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002396/0.4504, allocations: 27.94 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0002367/0.4506, allocations: 131.3 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000133/0.4507, allocations: 43.98 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4507, allocations: 0 / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.768e-05/0.4508, allocations: 19.98 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.4509, allocations: 5.719 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004087/0.4514, allocations: 175 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.389e-05/0.4514, allocations: 65.53 kB / 1.288 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.4515, allocations: 15.44 kB / 1.288 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.4515, allocations: 0 / 1.288 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of Templates: time 0.003152/0.4546, allocations: 0.9345 MB / 1.288 GB, free: 6.812 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 11.615200072992593] Failed to read output from testmodel.py, exit status != 0: 1.1274619940668344 0.47936765900000006 0.030414735000000002 Calling exit ...