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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001527/0.001527, allocations: 105.4 kB / 15.98 MB, free: 6.352 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.001494/0.001495, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.448/1.448, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.731/2.731, allocations: 469.8 MB / 0.7427 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 66.33 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3427, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002088/0.3448, allocations: 0.6658 MB / 1.065 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004136/0.3452, allocations: 159.5 kB / 1.065 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.227e-05/0.3453, allocations: 0 / 1.065 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.453e-05/0.3453, allocations: 0 / 1.065 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.25e-05/0.3453, allocations: 0 / 1.065 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.3457, allocations: 39.91 kB / 1.065 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.147e-05/0.3457, allocations: 15.92 kB / 1.065 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.329e-05/0.3458, allocations: 0 / 1.065 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.104e-05/0.3458, allocations: 8 kB / 1.065 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.43e-05/0.3459, allocations: 11.97 kB / 1.065 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.3459, allocations: 0 / 1.065 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.083e-05/0.346, allocations: 35.91 kB / 1.065 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/0.346, allocations: 4 kB / 1.065 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.278e-05/0.346, allocations: 4 kB / 1.065 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.831e-05/0.3461, allocations: 23.95 kB / 1.065 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3461, allocations: 4 kB / 1.065 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.734e-06/0.3461, allocations: 7.938 kB / 1.065 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.3461, allocations: 3.938 kB / 1.065 GB, free: 14.12 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.0004258/0.3465, allocations: 323.6 kB / 1.065 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.3466, allocations: 12.03 kB / 1.065 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.3466, allocations: 4.922 kB / 1.065 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.3468, allocations: 164.3 kB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.3468, allocations: 4.375 kB / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.3468, allocations: 384 / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.3469, allocations: 50.25 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.347, allocations: 192 / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.347, allocations: 7.938 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.347, allocations: 0 / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.352e-05/0.347, allocations: 11.98 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001915/0.3472, allocations: 169.9 kB / 1.066 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.855e-05/0.3473, allocations: 46.5 kB / 1.066 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.267e-05/0.3474, allocations: 20.98 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/0.3475, allocations: 85.09 kB / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.3476, allocations: 30.56 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.3476, allocations: 0 / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.001361/0.3489, allocations: 488 kB / 1.066 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.349, allocations: 51.41 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.111e-05/0.3491, allocations: 105.8 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.3491, allocations: 25.7 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.3491, allocations: 80.14 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/0.3492, allocations: 23.66 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.3492, allocations: 21.7 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3494, allocations: 318.8 kB / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.7e-05/0.3494, allocations: 8.438 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.629e-05/0.3494, allocations: 11.98 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.971e-05/0.3495, allocations: 40.98 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3495, allocations: 0 / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001141/0.3496, allocations: 73.91 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.3497, allocations: 7.938 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3497, allocations: 3.938 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3497, allocations: 7.984 kB / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.507e-05/0.3498, allocations: 11.94 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.3498, allocations: 4 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.329e-05/0.3498, allocations: 0 / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.3498, allocations: 0 / 1.067 GB, free: 11.64 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 9.292e-05/0.3499, allocations: 119.6 kB / 1.067 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.3499, allocations: 11.83 kB / 1.067 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001785/0.3501, allocations: 93.55 kB / 1.067 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.3501, allocations: 0 / 1.067 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3502, allocations: 0 / 1.067 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3502, allocations: 0 / 1.067 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.3503, allocations: 157.7 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3503, allocations: 0 / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.386e-05/0.3504, allocations: 15.98 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.3504, allocations: 11.88 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.3504, allocations: 8 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3504, allocations: 0 / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3504, allocations: 0 / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.3506, allocations: 113 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-05/0.3507, allocations: 88.98 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.3507, allocations: 4 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.366e-05/0.3508, allocations: 64 / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.251e-05/0.3508, allocations: 11.98 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.3508, allocations: 0 / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.962e-05/0.3509, allocations: 79.28 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3509, allocations: 0 / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002217/0.3511, allocations: 32 kB / 1.068 GB, free: 10.8 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.0002335/0.3513, allocations: 119.2 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001335/0.3515, allocations: 55.91 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3515, allocations: 4.094 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.855e-05/0.3515, allocations: 23.98 kB / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.3517, allocations: 0 / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000382/0.3521, allocations: 171.1 kB / 1.068 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.3524, allocations: 0.6845 MB / 1.069 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.895e-05/0.3525, allocations: 15.44 kB / 1.069 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.3525, allocations: 0 / 1.069 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of Templates: time 0.002727/0.3552, allocations: 0.9324 MB / 1.07 GB, free: 8.742 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (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)