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.001849/0.001849, allocations: 109.5 kB / 19.7 MB, free: 2.266 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.002449/0.002449, allocations: 216.8 kB / 23.01 MB, free: 4.594 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.912/2.912, allocations: 476.7 MB / 0.7714 GB, free: 4.25 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.002102/0.002102, allocations: 73.08 kB / 1.119 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4242/0.4263, allocations: 170 MB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002468/0.4288, allocations: 0.6149 MB / 1.285 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005659/0.4293, allocations: 159.6 kB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.766e-05/0.4294, allocations: 4 kB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.731e-05/0.4294, allocations: 0 / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.706e-05/0.4294, allocations: 0 / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003974/0.4298, allocations: 39.89 kB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.615e-05/0.4299, allocations: 15.88 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.717e-05/0.4299, allocations: 7.984 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.537e-05/0.43, allocations: 11.92 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.277e-05/0.4301, allocations: 11.94 kB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.4301, allocations: 0 / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.4302, allocations: 35.95 kB / 1.286 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.242e-05/0.4302, allocations: 8 kB / 1.286 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.928e-05/0.4302, allocations: 7.922 kB / 1.286 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.4304, allocations: 23.91 kB / 1.286 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.657e-05/0.4304, allocations: 7.984 kB / 1.286 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4304, allocations: 0 / 1.286 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.4304, allocations: 0 / 1.286 GB, free: 10.27 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.0005031/0.4309, allocations: 256.2 kB / 1.286 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.4309, allocations: 12.03 kB / 1.286 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.797e-05/0.431, allocations: 8.891 kB / 1.286 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.4311, allocations: 106.5 kB / 1.286 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.4311, allocations: 384 / 1.286 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.4312, allocations: 384 / 1.286 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.4313, allocations: 46.19 kB / 1.286 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.4313, allocations: 192 / 1.286 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.4313, allocations: 7.938 kB / 1.286 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.4313, allocations: 0 / 1.286 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.346e-05/0.4314, allocations: 23.92 kB / 1.286 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002293/0.4316, allocations: 132.8 kB / 1.286 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.4318, allocations: 38.56 kB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.044e-05/0.4318, allocations: 20.97 kB / 1.286 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.359e-05/0.4319, allocations: 8 kB / 1.286 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.4319, allocations: 34.5 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 3.978e-06/0.4319, allocations: 7.984 kB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.001683/0.4336, allocations: 411.2 kB / 1.287 GB, free: 9 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.4337, allocations: 55.41 kB / 1.287 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.66e-05/0.4338, allocations: 93.84 kB / 1.287 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.4338, allocations: 25.7 kB / 1.287 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.644e-05/0.4338, allocations: 80.14 kB / 1.287 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.165e-05/0.4339, allocations: 27.75 kB / 1.287 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.65e-05/0.4339, allocations: 29.83 kB / 1.287 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002038/0.4341, allocations: 314.8 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.23e-05/0.4342, allocations: 12 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.365e-05/0.4342, allocations: 11.97 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.694e-05/0.4343, allocations: 40.8 kB / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4343, allocations: 0 / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001604/0.4345, allocations: 65.92 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.4345, allocations: 15.92 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4345, allocations: 80 / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.4345, allocations: 4 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.4346, allocations: 12 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.4346, allocations: 3.984 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.096e-05/0.4347, allocations: 0 / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.4347, allocations: 7.938 kB / 1.287 GB, free: 8.16 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 0.0001149/0.4348, allocations: 113.8 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.4348, allocations: 11.92 kB / 1.288 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002206/0.4351, allocations: 85.53 kB / 1.288 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.4351, allocations: 0 / 1.288 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4351, allocations: 0 / 1.288 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4351, allocations: 4 kB / 1.288 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.4352, allocations: 132.7 kB / 1.288 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4352, allocations: 3.938 kB / 1.288 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.4354, allocations: 19.92 kB / 1.288 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.4354, allocations: 3.938 kB / 1.288 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.4354, allocations: 4 kB / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4354, allocations: 0 / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4354, allocations: 192 / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.4356, allocations: 113.1 kB / 1.288 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.207e-05/0.4356, allocations: 7.891 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.4357, allocations: 8 kB / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.316e-05/0.4357, allocations: 4.031 kB / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.4357, allocations: 3.984 kB / 1.288 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.4358, allocations: 4 kB / 1.288 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.16e-05/0.4358, allocations: 79.34 kB / 1.288 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.4358, allocations: 0 / 1.288 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003735/0.4362, allocations: 39.86 kB / 1.288 GB, free: 7.457 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.0002687/0.4365, allocations: 123.2 kB / 1.288 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001593/0.4366, allocations: 39.97 kB / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4366, allocations: 0 / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.938e-05/0.4367, allocations: 19.94 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.4369, allocations: 8 kB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004626/0.4374, allocations: 171.2 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.4378, allocations: 0.6807 MB / 1.289 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.4378, allocations: 11.44 kB / 1.289 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.4378, allocations: 0 / 1.289 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of Templates: time 0.003457/0.4413, allocations: 0.9306 MB / 1.29 GB, free: 5.418 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.544366171001457] Failed to read output from testmodel.py, exit status != 0: 0.964005603978876 0.47519192899999996 0.040078788000000004 Calling exit ...