Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_9_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.00113/0.00113, allocations: 105.5 kB / 16.27 MB, free: 5.957 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.001309/0.001308, allocations: 187.1 kB / 17.19 MB, free: 5.59 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.402/1.402, 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 9.1.3-maint.9.1.x/package.mo): time 2.303/2.303, allocations: 390.2 MB / 0.6653 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.001371, allocations: 63.06 kB / 0.8132 GB, free: 32.97 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2811, allocations: 140.4 MB / 0.9503 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002968/0.2841, allocations: 1.437 MB / 0.9517 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004569/0.2846, allocations: 186.4 kB / 0.9518 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.873e-05/0.2846, allocations: 0 / 0.9518 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.2847, allocations: 3.938 kB / 0.9518 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.198e-05/0.2848, allocations: 7.922 kB / 0.9519 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.2851, allocations: 47.89 kB / 0.9519 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.877e-05/0.2852, allocations: 19.94 kB / 0.9519 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.839e-05/0.2853, allocations: 7.984 kB / 0.9519 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.144e-05/0.2853, allocations: 11.94 kB / 0.9519 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.095e-05/0.2854, allocations: 7.984 kB / 0.9519 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.2854, allocations: 0 / 0.9519 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.2855, allocations: 31.97 kB / 0.952 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.551e-05/0.2855, allocations: 15.92 kB / 0.952 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.696e-05/0.2856, allocations: 15.86 kB / 0.952 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.2857, allocations: 35.95 kB / 0.952 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2857, allocations: 0 / 0.952 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2857, allocations: 0 / 0.952 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.2857, allocations: 0 / 0.952 GB, free: 7.098 MB / 0.7325 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.00046/0.2862, allocations: 347.7 kB / 0.9524 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.2862, allocations: 11.97 kB / 0.9524 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.473e-05/0.2863, allocations: 8.844 kB / 0.9524 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.2864, allocations: 164.4 kB / 0.9525 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.2864, allocations: 4.359 kB / 0.9526 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.2864, allocations: 8.375 kB / 0.9526 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.2867, allocations: 42.25 kB / 0.9526 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.2867, allocations: 4.188 kB / 0.9526 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.2867, allocations: 7.875 kB / 0.9526 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2867, allocations: 3.984 kB / 0.9526 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.2869, allocations: 27.97 kB / 0.9526 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.2872, allocations: 261 kB / 0.9529 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.2874, allocations: 38.5 kB / 0.9529 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.834e-05/0.2875, allocations: 16.91 kB / 0.9529 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.2876, allocations: 85.09 kB / 0.953 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.2876, allocations: 38.5 kB / 0.9531 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.2876, allocations: 4 kB / 0.9531 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003726/0.288, allocations: 81.55 kB / 0.9531 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.2881, allocations: 51.41 kB / 0.9532 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.826e-05/0.2882, allocations: 101.9 kB / 0.9533 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.2882, allocations: 25.7 kB / 0.9533 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.341e-05/0.2882, allocations: 88.25 kB / 0.9534 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.2883, allocations: 11.91 kB / 0.9534 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.2883, allocations: 9.719 kB / 0.9534 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.2884, allocations: 314.8 kB / 0.9537 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.366e-05/0.2885, allocations: 15.98 kB / 0.9537 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.522e-05/0.2886, allocations: 19.97 kB / 0.9538 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.2887, allocations: 44.83 kB / 0.9538 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2888, allocations: 256 / 0.9538 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001999/0.289, allocations: 69.59 kB / 0.9539 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.289, allocations: 4 kB / 0.9539 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.289, allocations: 4 kB / 0.9539 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.289, allocations: 0 / 0.9539 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.919e-05/0.2891, allocations: 11.98 kB / 0.9539 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2891, allocations: 4.031 kB / 0.9539 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.659e-05/0.2892, allocations: 4 kB / 0.9539 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.2892, allocations: 3.938 kB / 0.9539 GB, free: 4.953 MB / 0.7325 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.497e-05/0.2893, allocations: 121.2 kB / 0.954 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.2893, allocations: 7.984 kB / 0.954 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002391/0.2895, allocations: 72.72 kB / 0.9541 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.2896, allocations: 8.031 kB / 0.9541 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.2896, allocations: 0 / 0.9541 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2896, allocations: 0 / 0.9541 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.2897, allocations: 161.5 kB / 0.9542 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2897, allocations: 0 / 0.9542 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.821e-05/0.2898, allocations: 11.98 kB / 0.9543 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.2898, allocations: 0 / 0.9543 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.2898, allocations: 0 / 0.9543 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2898, allocations: 0 / 0.9543 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2898, allocations: 0 / 0.9543 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.2901, allocations: 175.3 kB / 0.9544 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.801e-05/0.2901, allocations: 77.11 kB / 0.9545 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.2902, allocations: 7.984 kB / 0.9545 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.955e-05/0.2902, allocations: 0 / 0.9545 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.2903, allocations: 7.984 kB / 0.9545 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-06/0.2903, allocations: 0 / 0.9545 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.987e-05/0.2903, allocations: 87.31 kB / 0.9546 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2903, allocations: 0 / 0.9546 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002385/0.2906, allocations: 8 kB / 0.9546 GB, free: 4.125 MB / 0.7325 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.0001694/0.2907, allocations: 107.2 kB / 0.9547 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.291, allocations: 43.95 kB / 0.9548 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.291, allocations: 0 / 0.9548 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.535e-05/0.2911, allocations: 23.98 kB / 0.9548 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.2914, allocations: 11.17 kB / 0.9548 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/0.2917, allocations: 127.3 kB / 0.9549 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.292, allocations: 0.6805 MB / 0.9556 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.449e-05/0.292, allocations: 7.438 kB / 0.9556 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.292, allocations: 64 / 0.9556 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of Templates: time 0.002147/0.2942, allocations: 0.6778 MB / 0.9562 GB, free: 2.391 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches