Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_SmoothExponential",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.009417/0.009417, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.002328/0.002328, allocations: 195.8 kB / 16.68 MB, free: 5.934 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.718/2.718, allocations: 437 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 63.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3353, allocations: 151.6 MB / 1.166 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.003286/0.3387, allocations: 1.439 MB / 1.168 GB, free: 5.828 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0006523/0.3393, allocations: 196.2 kB / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.197e-05/0.3394, allocations: 0 / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.956e-05/0.3395, allocations: 3.938 kB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.6e-05/0.3396, allocations: 0 / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.3401, allocations: 39.89 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.3402, allocations: 23.92 kB / 1.168 GB, free: 5.566 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.3403, allocations: 4 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.095e-05/0.3404, allocations: 11.98 kB / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.702e-05/0.3404, allocations: 15.92 kB / 1.168 GB, free: 5.535 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.3405, allocations: 4 kB / 1.168 GB, free: 5.531 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.3406, allocations: 35.95 kB / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.093e-05/0.3406, allocations: 0 / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.539e-05/0.3406, allocations: 11.94 kB / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.3409, allocations: 52.08 kB / 1.168 GB, free: 5.434 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3409, allocations: 3.938 kB / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3409, allocations: 0 / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.31e-05/0.3409, allocations: 0 / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005872/0.3415, allocations: 347.4 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.3415, allocations: 8.031 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.905e-05/0.3416, allocations: 30.75 kB / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.3416, allocations: 8.891 kB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.3418, allocations: 160.4 kB / 1.168 GB, free: 4.789 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.3418, allocations: 8.359 kB / 1.168 GB, free: 4.781 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.3418, allocations: 8.312 kB / 1.168 GB, free: 4.773 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.342, allocations: 42.25 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3421, allocations: 7.938 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.3421, allocations: 4 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.3421, allocations: 3.984 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.3423, allocations: 31.91 kB / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.3427, allocations: 252.9 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.3428, allocations: 38.5 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.628e-05/0.3429, allocations: 24.91 kB / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.343, allocations: 85.09 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.3431, allocations: 34.5 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3431, allocations: 0 / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003814/0.3435, allocations: 89.62 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.3435, allocations: 55.44 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.104e-05/0.3436, allocations: 101.9 kB / 1.169 GB, free: 3.895 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.3436, allocations: 25.7 kB / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.64e-05/0.3437, allocations: 80.14 kB / 1.169 GB, free: 3.781 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.3437, allocations: 7.938 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.3438, allocations: 17.72 kB / 1.169 GB, free: 3.75 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.3439, allocations: 310.8 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-05/0.344, allocations: 23.98 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.408e-05/0.3441, allocations: 15.97 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.3442, allocations: 40.77 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3442, allocations: 3.938 kB / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002081/0.3444, allocations: 73.72 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.3445, allocations: 4 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3445, allocations: 256 / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.3445, allocations: 0 / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.899e-05/0.3446, allocations: 15.98 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.3446, allocations: 0 / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.643e-05/0.3447, allocations: 4 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.3447, allocations: 0 / 1.17 GB, free: 3.25 MB / 0.92 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 (2): * Single equations (assignments): 2 * 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.758e-05/0.3448, allocations: 113.8 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.3448, allocations: 7.984 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002609/0.3451, allocations: 76.7 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.3451, allocations: 7.938 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3451, allocations: 0 / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.3451, allocations: 0 / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.3453, allocations: 161.6 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3453, allocations: 0 / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.375e-05/0.3454, allocations: 16.02 kB / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3454, allocations: 0 / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.3454, allocations: 0 / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3454, allocations: 0 / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3454, allocations: 0 / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.3457, allocations: 167.4 kB / 1.17 GB, free: 2.629 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.317e-05/0.3458, allocations: 81.14 kB / 1.17 GB, free: 2.531 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.3458, allocations: 7.984 kB / 1.17 GB, free: 2.523 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.038e-05/0.3459, allocations: 0 / 1.17 GB, free: 2.523 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.3459, allocations: 4 kB / 1.17 GB, free: 2.52 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.3459, allocations: 3.984 kB / 1.17 GB, free: 2.516 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.433e-05/0.346, allocations: 83.28 kB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.346, allocations: 3.938 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002485/0.3463, allocations: 11.94 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0006672/0.3469, allocations: 0.7046 MB / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000219/0.3472, allocations: 43.89 kB / 1.171 GB, free: 1.641 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.3472, allocations: 8.094 kB / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.464e-05/0.3473, allocations: 15.98 kB / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.3476, allocations: 0 / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00043/0.348, allocations: 139.1 kB / 1.171 GB, free: 1.441 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.3483, allocations: 0.6768 MB / 1.172 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.697e-05/0.3483, allocations: 4 kB / 1.172 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/0.3483, allocations: 7.438 kB / 1.172 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of SimCode: time 6.41e-07/0.3483, allocations: 4.062 kB / 1.172 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02047/0.3688, allocations: 1.452 MB / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.696/8.064, allocations: 11 kB / 1.174 GB, free: 15.35 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches