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: translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 101.6 kB / 16.27 MB, free: 5.852 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.001527/0.001527, allocations: 188.7 kB / 17.19 MB, free: 5.5 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.377/1.377, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.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.479/2.479, allocations: 437 MB / 0.711 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 67.62 kB / 0.8699 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3056, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002845/0.3085, allocations: 1.448 MB / 1.019 GB, free: 9.18 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004665/0.309, allocations: 184.3 kB / 1.02 GB, free: 8.996 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.511e-05/0.3091, allocations: 0 / 1.02 GB, free: 8.996 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.654e-05/0.3091, allocations: 3.938 kB / 1.02 GB, free: 8.992 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.497e-05/0.3092, allocations: 3.938 kB / 1.02 GB, free: 8.988 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.3095, allocations: 51.78 kB / 1.02 GB, free: 8.938 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.409e-05/0.3096, allocations: 27.88 kB / 1.02 GB, free: 8.91 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.099e-05/0.3097, allocations: 7.984 kB / 1.02 GB, free: 8.902 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.937e-05/0.3097, allocations: 4 kB / 1.02 GB, free: 8.898 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.802e-05/0.3098, allocations: 11.92 kB / 1.02 GB, free: 8.887 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.3098, allocations: 4 kB / 1.02 GB, free: 8.883 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.289e-05/0.3099, allocations: 35.95 kB / 1.02 GB, free: 8.848 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.3099, allocations: 4 kB / 1.02 GB, free: 8.844 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.366e-05/0.3099, allocations: 11.94 kB / 1.02 GB, free: 8.832 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.3101, allocations: 47.86 kB / 1.02 GB, free: 8.785 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3101, allocations: 0 / 1.02 GB, free: 8.785 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3101, allocations: 4 kB / 1.02 GB, free: 8.781 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.3101, allocations: 0 / 1.02 GB, free: 8.781 MB / 0.795 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.000448/0.3106, allocations: 335.8 kB / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.3106, allocations: 12.03 kB / 1.02 GB, free: 8.391 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.3107, allocations: 4.844 kB / 1.02 GB, free: 8.387 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.3108, allocations: 164.4 kB / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.3108, allocations: 384 / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.3108, allocations: 4.375 kB / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.311, allocations: 58.11 kB / 1.02 GB, free: 8.121 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.311, allocations: 192 / 1.02 GB, free: 8.121 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.3111, allocations: 3.938 kB / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.3111, allocations: 0 / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.3112, allocations: 35.95 kB / 1.02 GB, free: 8.082 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.3116, allocations: 253 kB / 1.021 GB, free: 7.785 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.3117, allocations: 38.5 kB / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.145e-05/0.3118, allocations: 20.91 kB / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.781e-05/0.3119, allocations: 89.03 kB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.3119, allocations: 34.56 kB / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.312, allocations: 4 kB / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003654/0.3123, allocations: 77.56 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.3124, allocations: 59.39 kB / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.587e-05/0.3125, allocations: 93.86 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.3125, allocations: 29.7 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.395e-05/0.3125, allocations: 84.14 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.3126, allocations: 12.02 kB / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/0.3126, allocations: 13.72 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.3127, allocations: 314.8 kB / 1.021 GB, free: 6.84 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.642e-05/0.3128, allocations: 15.92 kB / 1.021 GB, free: 6.824 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.012e-05/0.3129, allocations: 23.92 kB / 1.021 GB, free: 6.801 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.3131, allocations: 40.88 kB / 1.021 GB, free: 6.758 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3131, allocations: 0 / 1.021 GB, free: 6.758 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002069/0.3133, allocations: 69.59 kB / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3133, allocations: 8 kB / 1.022 GB, free: 6.676 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3133, allocations: 0 / 1.022 GB, free: 6.676 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.3133, allocations: 0 / 1.022 GB, free: 6.676 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.724e-05/0.3134, allocations: 4.25 kB / 1.022 GB, free: 6.672 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.3134, allocations: 4.016 kB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.179e-05/0.3135, allocations: 16 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.3135, allocations: 4 kB / 1.022 GB, free: 6.648 MB / 0.795 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 7.405e-05/0.3136, allocations: 113.7 kB / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.3136, allocations: 0 / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.3139, allocations: 76.77 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3139, allocations: 4.031 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3139, allocations: 0 / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.3139, allocations: 0 / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.3141, allocations: 165.5 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3141, allocations: 0 / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.211e-05/0.3142, allocations: 11.97 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3142, allocations: 0 / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.3142, allocations: 0 / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.3142, allocations: 7.938 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3142, allocations: 0 / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.3144, allocations: 176.8 kB / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.317e-05/0.3145, allocations: 77.11 kB / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.3145, allocations: 3.984 kB / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.602e-05/0.3146, allocations: 4 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.3146, allocations: 0 / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.3146, allocations: 4 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.143e-05/0.3147, allocations: 91.3 kB / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3147, allocations: 0 / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002366/0.3149, allocations: 12 kB / 1.022 GB, free: 5.816 MB / 0.795 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.0001611/0.3151, allocations: 103.2 kB / 1.022 GB, free: 5.707 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000218/0.3153, allocations: 43.83 kB / 1.022 GB, free: 5.664 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3153, allocations: 0 / 1.022 GB, free: 5.664 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.083e-05/0.3154, allocations: 24.05 kB / 1.022 GB, free: 5.641 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.3157, allocations: 10.59 kB / 1.022 GB, free: 5.633 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002941/0.316, allocations: 119.3 kB / 1.023 GB, free: 5.484 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.3163, allocations: 0.6807 MB / 1.023 GB, free: 4.777 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.383e-05/0.3163, allocations: 11.44 kB / 1.023 GB, free: 4.766 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.3163, allocations: 0 / 1.023 GB, free: 4.766 MB / 0.795 GB Notification: Performance of Templates: time 0.002195/0.3185, allocations: 0.6682 MB / 1.024 GB, free: 4.098 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (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 & ./Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/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