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: "" <> 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.001203/0.001203, allocations: 108 kB / 15.6 MB, free: 132 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.001126/0.001126, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.745/2.745, allocations: 469.4 MB / 0.742 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 61.94 kB / 0.9083 GB, free: 34.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2725, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001872/0.2744, allocations: 0.6099 MB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003928/0.2749, allocations: 155.5 kB / 1.064 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.771e-05/0.2749, allocations: 8 kB / 1.064 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.471e-05/0.2749, allocations: 7.875 kB / 1.064 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.068e-05/0.275, allocations: 0 / 1.064 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.2753, allocations: 39.89 kB / 1.064 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.587e-05/0.2754, allocations: 11.98 kB / 1.064 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/0.2754, allocations: 4 kB / 1.064 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.167e-05/0.2754, allocations: 7.938 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.234e-05/0.2755, allocations: 11.97 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.2755, allocations: 0 / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.206e-05/0.2756, allocations: 31.97 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/0.2756, allocations: 8 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.152e-05/0.2757, allocations: 7.938 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.2758, allocations: 35.88 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.2758, allocations: 4 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2758, allocations: 0 / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.2758, allocations: 0 / 1.065 GB, free: 13.54 MB / 0.8262 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.0003551/0.2762, allocations: 323.6 kB / 1.065 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.2762, allocations: 12.03 kB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.308e-05/0.2763, allocations: 38.69 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/0.2763, allocations: 0.9375 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.2764, allocations: 172.7 kB / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.2764, allocations: 384 / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.2765, allocations: 4.281 kB / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.2766, allocations: 46.25 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.2766, allocations: 3.938 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.2766, allocations: 0 / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.2766, allocations: 4 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.361e-05/0.2767, allocations: 11.98 kB / 1.065 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001617/0.2768, allocations: 165.6 kB / 1.065 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.424e-05/0.2769, allocations: 46.56 kB / 1.065 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.256e-05/0.277, allocations: 16.98 kB / 1.065 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.56e-05/0.2771, allocations: 81.11 kB / 1.065 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.2771, allocations: 34.55 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.2771, allocations: 4 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.001229/0.2783, allocations: 492 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.2784, allocations: 55.41 kB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.302e-05/0.2784, allocations: 89.86 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.2785, allocations: 25.7 kB / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.228e-05/0.2785, allocations: 84.14 kB / 1.066 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.2785, allocations: 27.58 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.2786, allocations: 25.72 kB / 1.066 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.954e-05/0.2787, allocations: 319 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.88e-05/0.2787, allocations: 12 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.442e-05/0.2787, allocations: 15.98 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.089e-05/0.2788, allocations: 28.86 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.2788, allocations: 0 / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001132/0.2789, allocations: 81.45 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.279, allocations: 8 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.279, allocations: 3.938 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.279, allocations: 0 / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.056e-05/0.2791, allocations: 15.98 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2791, allocations: 4 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.356e-05/0.2791, allocations: 448 / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.2791, allocations: 4 kB / 1.067 GB, free: 11 MB / 0.8262 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 6.407e-05/0.2792, allocations: 110.4 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/0.2792, allocations: 7.938 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001606/0.2794, allocations: 85.88 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.2794, allocations: 0 / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.2794, allocations: 7.984 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.2794, allocations: 11.98 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.2795, allocations: 161.7 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.2795, allocations: 0 / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.838e-05/0.2796, allocations: 15.94 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2796, allocations: 4 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.2796, allocations: 3.984 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2796, allocations: 0 / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2797, allocations: 0 / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.2798, allocations: 113.1 kB / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.276e-05/0.2799, allocations: 88.95 kB / 1.067 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.2799, allocations: 4 kB / 1.067 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.38e-05/0.2799, allocations: 0 / 1.067 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.545e-05/0.28, allocations: 7.984 kB / 1.067 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.28, allocations: 4 kB / 1.067 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.789e-05/0.28, allocations: 75.28 kB / 1.067 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.413e-06/0.28, allocations: 0 / 1.067 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002215/0.2802, allocations: 35.94 kB / 1.067 GB, free: 10.18 MB / 0.8262 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.000525/0.2808, allocations: 0.6828 MB / 1.068 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001155/0.2809, allocations: 39.92 kB / 1.068 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2809, allocations: 0 / 1.068 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.354e-05/0.2809, allocations: 23.98 kB / 1.068 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.2811, allocations: 11.23 kB / 1.068 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.2821, allocations: 1.203 MB / 1.069 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.2823, allocations: 0.6807 MB / 1.07 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.376e-05/0.2824, allocations: 4 kB / 1.07 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.926e-05/0.2824, allocations: 19.42 kB / 1.07 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2824, allocations: 3.938 kB / 1.07 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/0.3024, allocations: 1.786 MB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.144/7.446, allocations: 4.5 kB / 1.072 GB, free: 5.719 MB / 0.8262 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)