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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 108.6 kB / 15.73 MB, free: 76 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.001914/0.001914, allocations: 188.4 kB / 16.66 MB, free: 6.59 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.589/1.589, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.866/2.866, allocations: 469.4 MB / 0.7421 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 68.09 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3375, allocations: 159.1 MB / 1.22 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001742/0.3392, allocations: 0.6019 MB / 1.22 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004155/0.3397, allocations: 157.1 kB / 1.221 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.587e-05/0.3397, allocations: 4 kB / 1.221 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.398e-05/0.3398, allocations: 0 / 1.221 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.306e-05/0.3398, allocations: 0 / 1.221 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.3401, allocations: 39.89 kB / 1.221 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.215e-05/0.3402, allocations: 19.98 kB / 1.221 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.3402, allocations: 7.938 kB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.163e-05/0.3403, allocations: 7.922 kB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.293e-05/0.3403, allocations: 11.98 kB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.3403, allocations: 0 / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.462e-05/0.3404, allocations: 31.97 kB / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.3405, allocations: 4 kB / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.265e-05/0.3405, allocations: 7.922 kB / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.3406, allocations: 31.89 kB / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3406, allocations: 4 kB / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.103e-06/0.3406, allocations: 0 / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.3406, allocations: 4 kB / 1.221 GB, free: 13.7 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.0003916/0.341, allocations: 331.4 kB / 1.221 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3411, allocations: 12.03 kB / 1.221 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.759e-05/0.3411, allocations: 34.73 kB / 1.221 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.3412, allocations: 0.9375 kB / 1.221 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.3413, allocations: 164.4 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.3413, allocations: 384 / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.3413, allocations: 4.375 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.3414, allocations: 50.25 kB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.3415, allocations: 7.875 kB / 1.221 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.3415, allocations: 4 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3415, allocations: 3.938 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.677e-05/0.3415, allocations: 15.98 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001749/0.3417, allocations: 161.6 kB / 1.221 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.224e-05/0.3418, allocations: 42.62 kB / 1.221 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.41e-05/0.3419, allocations: 20.98 kB / 1.221 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.342, allocations: 89.08 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.342, allocations: 34.5 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.342, allocations: 4 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.001242/0.3433, allocations: 476.1 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.3433, allocations: 55.41 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.397e-05/0.3434, allocations: 97.84 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.3434, allocations: 29.7 kB / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 2.434e-05/0.3434, allocations: 80.14 kB / 1.222 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.3434, allocations: 23.8 kB / 1.222 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.3435, allocations: 29.64 kB / 1.222 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.517e-05/0.3436, allocations: 310.8 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.882e-05/0.3436, allocations: 12.44 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.8e-05/0.3437, allocations: 15.98 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.465e-05/0.3437, allocations: 37.02 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3437, allocations: 4.125 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001192/0.3439, allocations: 81.56 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.3439, allocations: 11.98 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3439, allocations: 0 / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.3439, allocations: 0 / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.012e-05/0.344, allocations: 12 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.344, allocations: 0 / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.47e-05/0.344, allocations: 4 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.3441, allocations: 4 kB / 1.223 GB, free: 11.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 7.334e-05/0.3441, allocations: 113.8 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.755e-05/0.3442, allocations: 11.92 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001668/0.3443, allocations: 77.64 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3443, allocations: 0 / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.3444, allocations: 4 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3444, allocations: 3.984 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.3445, allocations: 165.7 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.3445, allocations: 0 / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.411e-05/0.3446, allocations: 23.86 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.3446, allocations: 4 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.904e-06/0.3446, allocations: 0 / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3446, allocations: 0 / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3446, allocations: 0 / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.3448, allocations: 117.1 kB / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.496e-05/0.3448, allocations: 81.05 kB / 1.223 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.3449, allocations: 0 / 1.223 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.467e-05/0.3449, allocations: 4.031 kB / 1.223 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.3449, allocations: 11.98 kB / 1.223 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.345, allocations: 8 kB / 1.223 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 2.776e-05/0.345, allocations: 75.28 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.345, allocations: 0 / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002234/0.3452, allocations: 31.92 kB / 1.224 GB, free: 10.34 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.0005186/0.3457, allocations: 0.6943 MB / 1.224 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000116/0.3459, allocations: 43.89 kB / 1.224 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3459, allocations: 0 / 1.224 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.168e-05/0.3459, allocations: 20 kB / 1.224 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.3461, allocations: 10.06 kB / 1.224 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009915/0.3471, allocations: 1.2 MB / 1.225 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.3473, allocations: 0.6807 MB / 1.226 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.61e-05/0.3473, allocations: 8.062 kB / 1.226 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.649e-05/0.3474, allocations: 15.44 kB / 1.226 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.3474, allocations: 0 / 1.226 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02142/0.3688, allocations: 1.839 MB / 1.228 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.66/8.029, allocations: 5.5 kB / 1.228 GB, free: 5.84 MB / 0.9825 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)