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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> 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.007604/0.007604, allocations: 97.02 kB / 15.73 MB, free: 6.062 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.002081/0.002081, allocations: 198.9 kB / 16.68 MB, free: 5.98 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.834/2.834, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 76.09 kB / 1.083 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2767, allocations: 162.2 MB / 1.242 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001596/0.2783, allocations: 0.5979 MB / 1.242 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003764/0.2787, allocations: 167.4 kB / 1.242 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.144e-05/0.2788, allocations: 0 / 1.242 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.429e-05/0.2788, allocations: 0 / 1.242 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 1.783e-05/0.2788, allocations: 3.938 kB / 1.242 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.2791, allocations: 43.64 kB / 1.242 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.918e-05/0.2792, allocations: 15.98 kB / 1.242 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.197e-05/0.2792, allocations: 0 / 1.242 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.924e-05/0.2792, allocations: 11.92 kB / 1.242 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.539e-05/0.2793, allocations: 11.98 kB / 1.242 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.2793, allocations: 0 / 1.242 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.042e-05/0.2794, allocations: 39.91 kB / 1.242 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.135e-05/0.2794, allocations: 0 / 1.242 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.406e-05/0.2794, allocations: 19.91 kB / 1.242 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.181e-05/0.2795, allocations: 23.91 kB / 1.242 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.2795, allocations: 0 / 1.242 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2795, allocations: 0 / 1.242 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.2795, allocations: 0 / 1.242 GB, free: 9.25 MB / 0.9981 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.0003761/0.2799, allocations: 335.4 kB / 1.243 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.28, allocations: 8.031 kB / 1.243 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.519e-05/0.28, allocations: 34.75 kB / 1.243 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.28, allocations: 8.922 kB / 1.243 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.2802, allocations: 168.3 kB / 1.243 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.2802, allocations: 4.375 kB / 1.243 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.2802, allocations: 384 / 1.243 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.725e-05/0.2803, allocations: 42.25 kB / 1.243 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.2803, allocations: 3.938 kB / 1.243 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.2803, allocations: 0 / 1.243 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2803, allocations: 0 / 1.243 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.618e-05/0.2804, allocations: 15.98 kB / 1.243 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.2806, allocations: 169.6 kB / 1.243 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.957e-05/0.2807, allocations: 46.56 kB / 1.243 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.134e-05/0.2807, allocations: 20.97 kB / 1.243 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.322e-05/0.2808, allocations: 85.09 kB / 1.243 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.2809, allocations: 34.56 kB / 1.243 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.2809, allocations: 0 / 1.243 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.001194/0.2821, allocations: 492.2 kB / 1.244 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.2821, allocations: 59.41 kB / 1.244 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.79e-05/0.2822, allocations: 89.86 kB / 1.244 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.2822, allocations: 29.69 kB / 1.244 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.612e-05/0.2823, allocations: 80.14 kB / 1.244 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.2823, allocations: 23.8 kB / 1.244 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.2823, allocations: 25.64 kB / 1.244 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.2825, allocations: 323 kB / 1.244 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.57e-05/0.2825, allocations: 4 kB / 1.244 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.839e-05/0.2825, allocations: 19.97 kB / 1.244 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.399e-05/0.2826, allocations: 41.08 kB / 1.244 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.2826, allocations: 0 / 1.244 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001155/0.2827, allocations: 73.52 kB / 1.245 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.2828, allocations: 4 kB / 1.245 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.2828, allocations: 4 kB / 1.245 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.2828, allocations: 0 / 1.245 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.597e-05/0.2829, allocations: 19.98 kB / 1.245 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.2829, allocations: 4 kB / 1.245 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.159e-05/0.2829, allocations: 0 / 1.245 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.2829, allocations: 0 / 1.245 GB, free: 6.707 MB / 0.9981 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.577e-05/0.283, allocations: 113.8 kB / 1.245 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.283, allocations: 7.875 kB / 1.245 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.2832, allocations: 85.56 kB / 1.245 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2832, allocations: 0 / 1.245 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.2832, allocations: 4 kB / 1.245 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2832, allocations: 0 / 1.245 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.2834, allocations: 165.7 kB / 1.245 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2834, allocations: 0 / 1.245 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.781e-05/0.2835, allocations: 20.11 kB / 1.245 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2835, allocations: 0 / 1.245 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.2835, allocations: 8 kB / 1.245 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2835, allocations: 0 / 1.245 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2835, allocations: 0 / 1.245 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.2837, allocations: 121 kB / 1.245 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.451e-05/0.2837, allocations: 85.08 kB / 1.245 GB, free: 6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.2838, allocations: 0 / 1.245 GB, free: 6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.41e-05/0.2838, allocations: 4 kB / 1.245 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.2838, allocations: 7.984 kB / 1.245 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.2838, allocations: 4 kB / 1.245 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.494e-05/0.2839, allocations: 75.28 kB / 1.245 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2839, allocations: 0 / 1.245 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000225/0.2841, allocations: 32.09 kB / 1.245 GB, free: 5.879 MB / 0.9981 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.0005633/0.2847, allocations: 0.6904 MB / 1.246 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001071/0.2848, allocations: 39.97 kB / 1.246 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2848, allocations: 0 / 1.246 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.287e-05/0.2849, allocations: 28.39 kB / 1.246 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001346/0.285, allocations: 5.781 kB / 1.246 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.2861, allocations: 1.207 MB / 1.247 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.2864, allocations: 0.6807 MB / 1.248 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.292e-05/0.2864, allocations: 7.984 kB / 1.248 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.854e-05/0.2865, allocations: 11.44 kB / 1.248 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/0.2865, allocations: 0 / 1.248 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02232/0.3088, allocations: 1.818 MB / 1.25 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.523/7.831, allocations: 13.98 kB / 1.25 GB, free: 1.387 MB / 0.9981 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 400 --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)