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.00769/0.00769, allocations: 98.91 kB / 15.73 MB, free: 5.988 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.001343/0.001343, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.659/2.659, allocations: 437 MB / 0.7105 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 63.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3064, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002801/0.3092, allocations: 1.431 MB / 1.168 GB, free: 5.844 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0005046/0.3097, allocations: 200.2 kB / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.607e-05/0.3098, allocations: 0 / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.791e-05/0.3098, allocations: 0 / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.404e-05/0.3099, allocations: 3.938 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.3103, allocations: 35.89 kB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.817e-05/0.3104, allocations: 27.92 kB / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.987e-05/0.3105, allocations: 4 kB / 1.168 GB, free: 5.574 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.45e-05/0.3105, allocations: 15.92 kB / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.929e-05/0.3105, allocations: 4 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.3106, allocations: 4 kB / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.873e-05/0.3107, allocations: 35.95 kB / 1.168 GB, free: 5.516 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.3107, allocations: 7.938 kB / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.109e-05/0.3107, allocations: 11.98 kB / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.3109, allocations: 40.11 kB / 1.168 GB, free: 5.457 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.3109, allocations: 3.984 kB / 1.168 GB, free: 5.453 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3109, allocations: 4 kB / 1.168 GB, free: 5.449 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.3109, allocations: 0 / 1.168 GB, free: 5.449 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.000482/0.3114, allocations: 343.4 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.3115, allocations: 12.03 kB / 1.168 GB, free: 5.051 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.25e-05/0.3115, allocations: 34.69 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.3115, allocations: 8.828 kB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.3117, allocations: 164.4 kB / 1.168 GB, free: 4.801 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.3117, allocations: 4.312 kB / 1.168 GB, free: 4.797 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.3117, allocations: 384 / 1.168 GB, free: 4.797 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.3119, allocations: 50.23 kB / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3119, allocations: 7.938 kB / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.312, allocations: 0 / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.312, allocations: 0 / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.3121, allocations: 39.95 kB / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003742/0.3125, allocations: 248.8 kB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.3127, allocations: 50.53 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.721e-05/0.3128, allocations: 20.91 kB / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.3129, allocations: 85.09 kB / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.3129, allocations: 30.56 kB / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.3129, allocations: 0 / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003637/0.3133, allocations: 93.62 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.3133, allocations: 51.41 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.948e-05/0.3134, allocations: 105.8 kB / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.3135, allocations: 25.7 kB / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.724e-05/0.3135, allocations: 80.14 kB / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.3135, allocations: 3.953 kB / 1.169 GB, free: 3.789 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.3136, allocations: 21.7 kB / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3137, allocations: 310.8 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.344e-05/0.3138, allocations: 20.02 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.226e-05/0.3139, allocations: 15.98 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.314, allocations: 40.81 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3141, allocations: 3.938 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001908/0.3142, allocations: 65.67 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3143, allocations: 8 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.3143, allocations: 3.984 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.3143, allocations: 0 / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.265e-05/0.3144, allocations: 8 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3144, allocations: 4 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.604e-05/0.3145, allocations: 8.234 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.3145, allocations: 7.984 kB / 1.17 GB, free: 3.258 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 8.497e-05/0.3146, allocations: 116.2 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.3146, allocations: 4 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.3148, allocations: 76.66 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.3149, allocations: 7.969 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3149, allocations: 0 / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3149, allocations: 0 / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.315, allocations: 165.6 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3151, allocations: 7.969 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.641e-05/0.3151, allocations: 7.984 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3151, allocations: 0 / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.3151, allocations: 4 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3152, allocations: 0 / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3152, allocations: 0 / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.3154, allocations: 167.5 kB / 1.17 GB, free: 2.633 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.3155, allocations: 77.11 kB / 1.17 GB, free: 2.539 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.3155, allocations: 0 / 1.17 GB, free: 2.539 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.66e-05/0.3156, allocations: 7.984 kB / 1.17 GB, free: 2.531 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.3156, allocations: 7.938 kB / 1.17 GB, free: 2.523 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.3156, allocations: 0 / 1.17 GB, free: 2.523 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.209e-05/0.3157, allocations: 87.27 kB / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3157, allocations: 0 / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002531/0.3159, allocations: 11.94 kB / 1.171 GB, free: 2.426 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.0005635/0.3165, allocations: 0.7046 MB / 1.171 GB, free: 1.691 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000207/0.3167, allocations: 43.92 kB / 1.171 GB, free: 1.648 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3167, allocations: 4 kB / 1.171 GB, free: 1.645 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.115e-05/0.3168, allocations: 15.98 kB / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.3171, allocations: 4 kB / 1.171 GB, free: 1.625 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004013/0.3175, allocations: 135.1 kB / 1.171 GB, free: 1.453 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.3178, allocations: 0.6768 MB / 1.172 GB, free: 0.75 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.438e-05/0.3178, allocations: 128 / 1.172 GB, free: 0.75 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.393e-05/0.3178, allocations: 19.42 kB / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of SimCode: time 3.8e-07/0.3179, allocations: 0 / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01786/0.3357, allocations: 1.447 MB / 1.174 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.645/7.98, allocations: 16 kB / 1.174 GB, free: 15.36 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