Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001306/0.001306, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001518/0.001518, allocations: 218.7 kB / 23.01 MB, free: 4.609 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.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.274/3.274, allocations: 0.505 GB / 0.8108 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002008/0.002008, allocations: 70.67 kB / 1.178 GB, free: 16.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3694, allocations: 180.2 MB / 1.354 GB, free: 7.906 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001889/0.3713, allocations: 0.6147 MB / 1.355 GB, free: 7.293 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0004673/0.3717, allocations: 163.9 kB / 1.355 GB, free: 7.133 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.832e-05/0.3718, allocations: 4 kB / 1.355 GB, free: 7.129 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.255e-05/0.3718, allocations: 0 / 1.355 GB, free: 7.129 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 1.89e-05/0.3718, allocations: 4 kB / 1.355 GB, free: 7.125 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.3721, allocations: 35.83 kB / 1.355 GB, free: 7.09 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.816e-05/0.3722, allocations: 23.92 kB / 1.355 GB, free: 7.066 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.983e-05/0.3723, allocations: 4 kB / 1.355 GB, free: 7.062 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.376e-05/0.3723, allocations: 7.922 kB / 1.355 GB, free: 7.055 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.797e-05/0.3724, allocations: 11.98 kB / 1.355 GB, free: 7.043 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.3724, allocations: 0 / 1.355 GB, free: 7.043 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.987e-05/0.3725, allocations: 31.97 kB / 1.355 GB, free: 7.012 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.706e-05/0.3725, allocations: 7.938 kB / 1.355 GB, free: 7.004 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.402e-05/0.3725, allocations: 7.984 kB / 1.355 GB, free: 6.996 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.3726, allocations: 35.83 kB / 1.355 GB, free: 6.961 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.3726, allocations: 4 kB / 1.355 GB, free: 6.957 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3726, allocations: 0 / 1.355 GB, free: 6.957 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.3726, allocations: 0 / 1.355 GB, free: 6.957 MB / 1.045 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.0004229/0.3731, allocations: 254.3 kB / 1.355 GB, free: 6.676 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.3731, allocations: 12.03 kB / 1.355 GB, free: 6.664 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.3731, allocations: 0.9375 kB / 1.355 GB, free: 6.664 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.3733, allocations: 106.5 kB / 1.355 GB, free: 6.535 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.3733, allocations: 8.312 kB / 1.355 GB, free: 6.527 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.3733, allocations: 8.375 kB / 1.355 GB, free: 6.52 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.3734, allocations: 38.25 kB / 1.355 GB, free: 6.477 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3734, allocations: 4.125 kB / 1.355 GB, free: 6.473 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.3734, allocations: 7.938 kB / 1.355 GB, free: 6.465 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3734, allocations: 0 / 1.355 GB, free: 6.465 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.6e-05/0.3735, allocations: 15.98 kB / 1.355 GB, free: 6.449 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001885/0.3737, allocations: 132.7 kB / 1.356 GB, free: 6.277 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.3738, allocations: 42.62 kB / 1.356 GB, free: 6.227 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.038e-05/0.3738, allocations: 24.97 kB / 1.356 GB, free: 6.199 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.753e-05/0.3739, allocations: 4 kB / 1.356 GB, free: 6.195 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/0.3739, allocations: 38.5 kB / 1.356 GB, free: 6.148 MB / 1.045 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.3739, allocations: 0 / 1.356 GB, free: 6.148 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.001319/0.3753, allocations: 410.8 kB / 1.356 GB, free: 5.691 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.3753, allocations: 55.41 kB / 1.356 GB, free: 5.625 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.006e-05/0.3754, allocations: 101.8 kB / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.3754, allocations: 29.64 kB / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.031e-05/0.3755, allocations: 80.14 kB / 1.356 GB, free: 5.398 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.831e-05/0.3755, allocations: 23.8 kB / 1.356 GB, free: 5.375 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/0.3755, allocations: 29.69 kB / 1.356 GB, free: 5.34 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3757, allocations: 310.8 kB / 1.357 GB, free: 5.027 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.027e-05/0.3757, allocations: 15.98 kB / 1.357 GB, free: 5.012 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.349e-05/0.3757, allocations: 12.12 kB / 1.357 GB, free: 5 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.497e-05/0.3758, allocations: 40.8 kB / 1.357 GB, free: 4.957 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3758, allocations: 448 / 1.357 GB, free: 4.957 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00011/0.3759, allocations: 61.69 kB / 1.357 GB, free: 4.891 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.3759, allocations: 18.42 kB / 1.357 GB, free: 4.875 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3759, allocations: 0 / 1.357 GB, free: 4.875 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.376, allocations: 0 / 1.357 GB, free: 4.875 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.752e-05/0.3761, allocations: 20 kB / 1.357 GB, free: 4.855 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3761, allocations: 0 / 1.357 GB, free: 4.855 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.3e-05/0.3761, allocations: 0 / 1.357 GB, free: 4.855 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.3761, allocations: 4 kB / 1.357 GB, free: 4.852 MB / 1.045 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.598e-05/0.3762, allocations: 122.4 kB / 1.357 GB, free: 4.723 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.3762, allocations: 11.89 kB / 1.357 GB, free: 4.711 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001761/0.3764, allocations: 77.56 kB / 1.357 GB, free: 4.625 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.3764, allocations: 0 / 1.357 GB, free: 4.625 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3764, allocations: 0 / 1.357 GB, free: 4.625 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.3764, allocations: 4 kB / 1.357 GB, free: 4.621 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.3765, allocations: 132.8 kB / 1.357 GB, free: 4.449 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3765, allocations: 0 / 1.357 GB, free: 4.449 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.86e-05/0.3766, allocations: 23.92 kB / 1.357 GB, free: 4.426 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3766, allocations: 3.938 kB / 1.357 GB, free: 4.422 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.3766, allocations: 0 / 1.357 GB, free: 4.422 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.3766, allocations: 0 / 1.357 GB, free: 4.422 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3766, allocations: 0 / 1.357 GB, free: 4.422 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.3768, allocations: 117.4 kB / 1.357 GB, free: 4.289 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.3769, allocations: 7.891 kB / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.377, allocations: 0 / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.815e-05/0.377, allocations: 12.09 kB / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.359e-05/0.377, allocations: 3.984 kB / 1.357 GB, free: 4.266 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.377, allocations: 4 kB / 1.357 GB, free: 4.262 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.177e-05/0.3771, allocations: 79.22 kB / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3771, allocations: 0 / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002288/0.3773, allocations: 35.92 kB / 1.357 GB, free: 4.148 MB / 1.045 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.0002518/0.3776, allocations: 132.2 kB / 1.358 GB, free: 4.012 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001323/0.3777, allocations: 40.14 kB / 1.358 GB, free: 3.973 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.3777, allocations: 4 kB / 1.358 GB, free: 3.969 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.685e-05/0.3777, allocations: 19.94 kB / 1.358 GB, free: 3.949 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.3779, allocations: 0 / 1.358 GB, free: 3.949 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/0.3783, allocations: 171.1 kB / 1.358 GB, free: 3.75 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.3786, allocations: 0.6807 MB / 1.358 GB, free: 3.043 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/0.3786, allocations: 11.44 kB / 1.359 GB, free: 3.031 MB / 1.045 GB Notification: Performance of SimCode: time 3.1e-07/0.3786, allocations: 0 / 1.359 GB, free: 3.031 MB / 1.045 GB Notification: Performance of Templates: time 0.002981/0.3816, allocations: 0.9266 MB / 1.359 GB, free: 2.109 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 11.095171431981726] Failed to read output from testmodel.py, exit status != 0: 0.3900695280171931 0.40480830300000004 0.029087847000000003 Calling exit ...