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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 100.1 kB / 15.88 MB, free: 4 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 200.4 kB / 16.8 MB, free: 6.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 240.5 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.767/2.767, allocations: 461.8 MB / 0.7348 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 68.66 kB / 0.899 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.316, allocations: 157.4 MB / 1.053 GB, free: 8.359 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001937/0.318, allocations: 0.6658 MB / 1.053 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004213/0.3185, allocations: 171.5 kB / 1.054 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.407e-05/0.3185, allocations: 0 / 1.054 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.348e-05/0.3185, allocations: 0 / 1.054 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.131e-05/0.3186, allocations: 0 / 1.054 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.3189, allocations: 27.92 kB / 1.054 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.354e-05/0.3189, allocations: 15.97 kB / 1.054 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.163e-05/0.319, allocations: 0 / 1.054 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.932e-05/0.319, allocations: 11.94 kB / 1.054 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.099e-05/0.3191, allocations: 7.984 kB / 1.054 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.3191, allocations: 0 / 1.054 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.34e-05/0.3192, allocations: 35.97 kB / 1.054 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.634e-05/0.3192, allocations: 7.984 kB / 1.054 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.58e-05/0.3192, allocations: 7.938 kB / 1.054 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.218e-05/0.3193, allocations: 15.97 kB / 1.054 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.3193, allocations: 3.938 kB / 1.054 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3193, allocations: 0 / 1.054 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.3193, allocations: 0 / 1.054 GB, free: 7.387 MB / 0.8106 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.0003923/0.3197, allocations: 335.5 kB / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.3198, allocations: 11.97 kB / 1.054 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.808e-05/0.3198, allocations: 4.938 kB / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.3199, allocations: 168.4 kB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.32, allocations: 384 / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.32, allocations: 8.312 kB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.3201, allocations: 42.25 kB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.3201, allocations: 4.125 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.3201, allocations: 3.938 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3201, allocations: 0 / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.441e-05/0.3202, allocations: 15.98 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.3204, allocations: 173.9 kB / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.995e-05/0.3205, allocations: 46.48 kB / 1.054 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.659e-05/0.3205, allocations: 20.98 kB / 1.055 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.3206, allocations: 85.09 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.3207, allocations: 30.56 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.3207, allocations: 0 / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0013/0.322, allocations: 496.2 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.322, allocations: 51.41 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.907e-05/0.3221, allocations: 93.86 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.3221, allocations: 25.7 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.619e-05/0.3222, allocations: 80.14 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.3222, allocations: 27.64 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.3223, allocations: 17.72 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.3224, allocations: 326.9 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.014e-05/0.3224, allocations: 12 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.673e-05/0.3225, allocations: 15.97 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.482e-05/0.3225, allocations: 32.86 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.3225, allocations: 0 / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001086/0.3226, allocations: 69.69 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3227, allocations: 7.938 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3227, allocations: 0 / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.3227, allocations: 0 / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.451e-05/0.3228, allocations: 19.92 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.3228, allocations: 4 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.606e-05/0.3228, allocations: 4 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.3228, allocations: 0 / 1.056 GB, free: 4.887 MB / 0.8106 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 8.244e-05/0.3229, allocations: 113.8 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.3229, allocations: 7.844 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001642/0.3231, allocations: 81.95 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3231, allocations: 0 / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3231, allocations: 11.88 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3231, allocations: 3.984 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.3233, allocations: 161.7 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3233, allocations: 3.938 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.969e-05/0.3234, allocations: 12 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.3234, allocations: 7.922 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.3234, allocations: 4.188 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.3234, allocations: 8 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3234, allocations: 80 / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.3236, allocations: 117 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.484e-05/0.3236, allocations: 84.95 kB / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.3237, allocations: 8.031 kB / 1.056 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.356e-05/0.3237, allocations: 0 / 1.056 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.218e-05/0.3237, allocations: 7.984 kB / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.3238, allocations: 0 / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.801e-05/0.3238, allocations: 75.28 kB / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3238, allocations: 0 / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002206/0.324, allocations: 32.16 kB / 1.057 GB, free: 4.059 MB / 0.8106 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.0002151/0.3242, allocations: 131.2 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000108/0.3244, allocations: 35.98 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3244, allocations: 0 / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.655e-05/0.3244, allocations: 27.92 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000165/0.3246, allocations: 8 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003154/0.3249, allocations: 180.7 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.3251, allocations: 0.6848 MB / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.625e-05/0.3252, allocations: 11.44 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of SimCode: time 2.81e-07/0.3252, allocations: 0 / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of Templates: time 0.002329/0.3275, allocations: 0.9085 MB / 1.058 GB, free: 2.008 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)