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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001399/0.001398, allocations: 110.6 kB / 16.27 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 187.8 kB / 17.19 MB, free: 5.609 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.355/1.355, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.678/2.678, allocations: 469.4 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 67.38 kB / 0.9088 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3324, allocations: 159.1 MB / 1.064 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002192/0.3346, allocations: 0.6089 MB / 1.065 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004495/0.3351, allocations: 159.5 kB / 1.065 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.543e-05/0.3351, allocations: 0 / 1.065 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.017e-05/0.3352, allocations: 4 kB / 1.065 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 1.999e-05/0.3352, allocations: 3.938 kB / 1.065 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.3356, allocations: 35.91 kB / 1.065 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.707e-05/0.3357, allocations: 15.98 kB / 1.065 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.971e-05/0.3357, allocations: 7.984 kB / 1.065 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.529e-05/0.3357, allocations: 7.938 kB / 1.065 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.015e-05/0.3358, allocations: 11.98 kB / 1.065 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.3358, allocations: 0 / 1.065 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.574e-05/0.3359, allocations: 31.97 kB / 1.065 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/0.336, allocations: 7.922 kB / 1.065 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.348e-05/0.336, allocations: 11.94 kB / 1.065 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.3361, allocations: 31.88 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.3361, allocations: 4 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3361, allocations: 0 / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.3362, allocations: 0 / 1.065 GB, free: 14.07 MB / 0.8419 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.0003994/0.3366, allocations: 331.6 kB / 1.065 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.3366, allocations: 8.625 kB / 1.065 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.778e-05/0.3367, allocations: 4.938 kB / 1.065 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.3368, allocations: 164.3 kB / 1.066 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.3368, allocations: 4.375 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.3368, allocations: 4.375 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.337, allocations: 42.25 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.337, allocations: 4.172 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.337, allocations: 7.938 kB / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.337, allocations: 0 / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.067e-05/0.3371, allocations: 8 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.3373, allocations: 165.9 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.959e-05/0.3374, allocations: 54.5 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.531e-05/0.3374, allocations: 20.97 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001229/0.3375, allocations: 81.11 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.3376, allocations: 30.56 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.3376, allocations: 0 / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.001333/0.3389, allocations: 496.1 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.339, allocations: 55.41 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.914e-05/0.339, allocations: 89.86 kB / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.3391, allocations: 29.7 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 2.745e-05/0.3391, allocations: 80.14 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.566e-05/0.3391, allocations: 27.62 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.3392, allocations: 21.72 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.3393, allocations: 314.8 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.18e-05/0.3393, allocations: 20.11 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.28e-05/0.3394, allocations: 8 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.709e-05/0.3394, allocations: 36.84 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.3394, allocations: 0 / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001127/0.3396, allocations: 73.62 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.3396, allocations: 7.938 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3396, allocations: 0 / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.3396, allocations: 0 / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.931e-05/0.3397, allocations: 15.98 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.3397, allocations: 0 / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.626e-05/0.3397, allocations: 4 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.3398, allocations: 4 kB / 1.067 GB, free: 11.59 MB / 0.8419 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 7.041e-05/0.3398, allocations: 109.8 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.3399, allocations: 11.84 kB / 1.067 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000171/0.34, allocations: 85.56 kB / 1.067 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.34, allocations: 4 kB / 1.067 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3401, allocations: 0 / 1.067 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.3401, allocations: 7.922 kB / 1.067 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.3402, allocations: 165.7 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3402, allocations: 0 / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.973e-05/0.3403, allocations: 12 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.3403, allocations: 4.125 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.3403, allocations: 8 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3403, allocations: 400 / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3403, allocations: 4 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.3405, allocations: 117 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/0.3406, allocations: 93 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.3406, allocations: 4 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.733e-05/0.3407, allocations: 7.969 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.839e-05/0.3407, allocations: 4 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.3407, allocations: 0 / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 2.896e-05/0.3407, allocations: 79.27 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3407, allocations: 0 / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000228/0.341, allocations: 32 kB / 1.068 GB, free: 10.76 MB / 0.8419 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.0002258/0.3412, allocations: 131.9 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001212/0.3413, allocations: 39.92 kB / 1.068 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.3413, allocations: 4 kB / 1.068 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.622e-05/0.3414, allocations: 19.98 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.3415, allocations: 11.94 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003733/0.3419, allocations: 165.4 kB / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.3422, allocations: 0.6807 MB / 1.069 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.965e-05/0.3422, allocations: 19.42 kB / 1.069 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.3422, allocations: 0 / 1.069 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of Templates: time 0.002647/0.3449, allocations: 0.9076 MB / 1.07 GB, free: 8.723 MB / 0.8419 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)