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.001825/0.001825, allocations: 112.5 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.002367/0.002367, allocations: 191.3 kB / 16.67 MB, free: 6.57 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.471/1.471, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.79/2.79, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 63.91 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.302, allocations: 151.6 MB / 1.166 GB, free: 7.371 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.00286/0.3049, allocations: 1.428 MB / 1.168 GB, free: 5.926 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004835/0.3054, allocations: 196.2 kB / 1.168 GB, free: 5.73 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.153e-05/0.3055, allocations: 4 kB / 1.168 GB, free: 5.727 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.033e-05/0.3055, allocations: 3.938 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.05e-05/0.3056, allocations: 7.984 kB / 1.168 GB, free: 5.715 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.3059, allocations: 35.84 kB / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.762e-05/0.3059, allocations: 12 kB / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.662e-05/0.306, allocations: 15.97 kB / 1.168 GB, free: 5.652 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.296e-05/0.3061, allocations: 7.938 kB / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.313e-05/0.3061, allocations: 11.98 kB / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.3062, allocations: 0 / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.3063, allocations: 35.97 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.999e-05/0.3064, allocations: 7.938 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.3064, allocations: 19.92 kB / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.3065, allocations: 44.09 kB / 1.168 GB, free: 5.527 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3065, allocations: 0 / 1.168 GB, free: 5.527 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3066, allocations: 0 / 1.168 GB, free: 5.527 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.3066, allocations: 0 / 1.168 GB, free: 5.527 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.0006619/0.3072, allocations: 343.4 kB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001015/0.3073, allocations: 12.03 kB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.3074, allocations: 30.75 kB / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.3074, allocations: 4.891 kB / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.3077, allocations: 176.3 kB / 1.168 GB, free: 4.875 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.3077, allocations: 384 / 1.168 GB, free: 4.875 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.3077, allocations: 4.375 kB / 1.168 GB, free: 4.871 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.3079, allocations: 50.23 kB / 1.169 GB, free: 4.816 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3079, allocations: 3.938 kB / 1.169 GB, free: 4.812 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.308, allocations: 0 / 1.169 GB, free: 4.812 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.308, allocations: 0 / 1.169 GB, free: 4.812 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001881/0.3082, allocations: 35.91 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/0.3086, allocations: 256.9 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.3088, allocations: 38.5 kB / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.836e-05/0.3089, allocations: 20.91 kB / 1.169 GB, free: 4.406 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.397e-05/0.309, allocations: 85.03 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.309, allocations: 46.5 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.309, allocations: 0 / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003706/0.3094, allocations: 81.59 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.3095, allocations: 51.41 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.754e-05/0.3096, allocations: 97.86 kB / 1.169 GB, free: 3.996 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.3096, allocations: 29.69 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.158e-05/0.3096, allocations: 92.27 kB / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.3097, allocations: 3.953 kB / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.3097, allocations: 13.72 kB / 1.169 GB, free: 3.844 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000193/0.3099, allocations: 314.8 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.692e-05/0.31, allocations: 15.97 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.948e-05/0.3101, allocations: 19.98 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.3103, allocations: 40.83 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3103, allocations: 3.938 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002024/0.3105, allocations: 65.66 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3105, allocations: 8 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.3105, allocations: 0 / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3105, allocations: 3.984 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.478e-05/0.3106, allocations: 12.02 kB / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.3106, allocations: 0 / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.482e-05/0.3107, allocations: 4 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.3107, allocations: 4 kB / 1.17 GB, free: 3.344 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.432e-05/0.3108, allocations: 117.8 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.3108, allocations: 3.938 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.3111, allocations: 84.7 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3111, allocations: 0 / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3111, allocations: 0 / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3111, allocations: 0 / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.3113, allocations: 169.5 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.3113, allocations: 4 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.525e-05/0.3114, allocations: 4 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.3114, allocations: 0 / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.3114, allocations: 4.234 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3114, allocations: 0 / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3114, allocations: 12.03 kB / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.3117, allocations: 167.4 kB / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.327e-05/0.3117, allocations: 77.11 kB / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.3117, allocations: 0 / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.542e-05/0.3118, allocations: 4 kB / 1.17 GB, free: 2.609 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.3119, allocations: 8.016 kB / 1.17 GB, free: 2.602 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.3119, allocations: 4 kB / 1.17 GB, free: 2.598 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.804e-05/0.3119, allocations: 87.22 kB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3119, allocations: 0 / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000247/0.3122, allocations: 8 kB / 1.171 GB, free: 2.504 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.0007216/0.3129, allocations: 0.7123 MB / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002139/0.3131, allocations: 35.91 kB / 1.171 GB, free: 1.727 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3131, allocations: 0 / 1.171 GB, free: 1.727 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.095e-05/0.3132, allocations: 23.97 kB / 1.171 GB, free: 1.703 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.3135, allocations: 6.031 kB / 1.171 GB, free: 1.699 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004716/0.314, allocations: 135.2 kB / 1.171 GB, free: 1.527 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.3144, allocations: 0.6768 MB / 1.172 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.139e-05/0.3144, allocations: 0 / 1.172 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/0.3145, allocations: 11.44 kB / 1.172 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of SimCode: time 2.4e-07/0.3145, allocations: 0 / 1.172 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0238/0.3383, allocations: 1.448 MB / 1.174 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.976/8.314, allocations: 6.844 kB / 1.174 GB, free: 15.45 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