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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001098/0.001098, allocations: 106.4 kB / 16.37 MB, free: 6.477 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.001082/0.001082, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.445/2.445, allocations: 437.1 MB / 0.7112 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 66.48 kB / 0.8707 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2917, allocations: 151.6 MB / 1.019 GB, free: 9.883 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002562/0.2943, allocations: 1.437 MB / 1.02 GB, free: 8.43 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003796/0.2947, allocations: 196.2 kB / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.081e-05/0.2947, allocations: 0 / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.386e-05/0.2947, allocations: 0 / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.871e-05/0.2948, allocations: 7.875 kB / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.295, allocations: 47.8 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.782e-05/0.2951, allocations: 23.92 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.913e-05/0.2952, allocations: 8 kB / 1.02 GB, free: 8.148 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.587e-05/0.2952, allocations: 8 kB / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.529e-05/0.2953, allocations: 11.92 kB / 1.02 GB, free: 8.129 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.2953, allocations: 4 kB / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.843e-05/0.2954, allocations: 31.97 kB / 1.021 GB, free: 8.094 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.2954, allocations: 3.984 kB / 1.021 GB, free: 8.09 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.547e-05/0.2954, allocations: 15.92 kB / 1.021 GB, free: 8.074 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.2955, allocations: 35.89 kB / 1.021 GB, free: 8.039 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2955, allocations: 4 kB / 1.021 GB, free: 8.035 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2956, allocations: 0 / 1.021 GB, free: 8.035 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.2956, allocations: 0 / 1.021 GB, free: 8.035 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.0004049/0.296, allocations: 343.5 kB / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.296, allocations: 16.84 kB / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.296, allocations: 8.844 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.2962, allocations: 164.4 kB / 1.021 GB, free: 7.426 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.2962, allocations: 8.312 kB / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.2962, allocations: 4.375 kB / 1.021 GB, free: 7.414 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.2964, allocations: 50.23 kB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.2964, allocations: 192 / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.2964, allocations: 3.938 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2964, allocations: 4 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.2966, allocations: 31.95 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002899/0.2969, allocations: 245 kB / 1.021 GB, free: 7.031 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.297, allocations: 46.44 kB / 1.021 GB, free: 6.977 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.104e-05/0.2971, allocations: 28.83 kB / 1.021 GB, free: 6.945 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 8.409e-05/0.2972, allocations: 81.11 kB / 1.022 GB, free: 6.848 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.2972, allocations: 30.56 kB / 1.022 GB, free: 6.809 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2972, allocations: 0 / 1.022 GB, free: 6.809 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003424/0.2976, allocations: 89.55 kB / 1.022 GB, free: 6.715 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.2976, allocations: 55.34 kB / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.491e-05/0.2977, allocations: 105.8 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.2977, allocations: 25.7 kB / 1.022 GB, free: 6.504 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.015e-05/0.2978, allocations: 84.12 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.2978, allocations: 8.031 kB / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.2978, allocations: 17.72 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.2979, allocations: 314.8 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.853e-05/0.298, allocations: 15.98 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.42e-05/0.2981, allocations: 15.98 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.2982, allocations: 40.89 kB / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2982, allocations: 0 / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001929/0.2984, allocations: 69.59 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.2985, allocations: 11.94 kB / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2985, allocations: 0 / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.2985, allocations: 0 / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.174e-05/0.2986, allocations: 11.98 kB / 1.022 GB, free: 5.898 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.2986, allocations: 0 / 1.022 GB, free: 5.898 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.461e-05/0.2986, allocations: 12.02 kB / 1.022 GB, free: 5.887 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-06/0.2986, allocations: 0 / 1.022 GB, free: 5.887 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 6.296e-05/0.2987, allocations: 109.8 kB / 1.023 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.2987, allocations: 4 kB / 1.023 GB, free: 5.766 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.299, allocations: 72.77 kB / 1.023 GB, free: 5.688 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.299, allocations: 0 / 1.023 GB, free: 5.688 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.299, allocations: 32 / 1.023 GB, free: 5.688 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.299, allocations: 8 kB / 1.023 GB, free: 5.68 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.2991, allocations: 169.7 kB / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2992, allocations: 0 / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.395e-05/0.2992, allocations: 15.92 kB / 1.023 GB, free: 5.449 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2992, allocations: 0 / 1.023 GB, free: 5.449 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.2992, allocations: 4 kB / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.2993, allocations: 3.938 kB / 1.023 GB, free: 5.441 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2993, allocations: 0 / 1.023 GB, free: 5.441 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.2995, allocations: 172.9 kB / 1.023 GB, free: 5.258 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-05/0.2995, allocations: 77.11 kB / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.2995, allocations: 0 / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.272e-05/0.2996, allocations: 7.984 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.2997, allocations: 8 kB / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.2997, allocations: 0 / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.44e-05/0.2997, allocations: 79.28 kB / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2997, allocations: 4.031 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002236/0.2999, allocations: 8 kB / 1.023 GB, free: 5.059 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.0001456/0.3001, allocations: 107.2 kB / 1.023 GB, free: 4.945 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001972/0.3003, allocations: 39.91 kB / 1.023 GB, free: 4.906 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3003, allocations: 0 / 1.023 GB, free: 4.906 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.088e-05/0.3004, allocations: 24.03 kB / 1.023 GB, free: 4.883 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.3007, allocations: 18.53 kB / 1.023 GB, free: 4.867 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002565/0.3009, allocations: 101.6 kB / 1.023 GB, free: 4.742 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.3012, allocations: 0.6768 MB / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.014e-05/0.3012, allocations: 0 / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.753e-05/0.3012, allocations: 7.438 kB / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of SimCode: time 1.753e-06/0.3012, allocations: 0 / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of Templates: time 0.002649/0.3039, allocations: 0.5847 MB / 1.025 GB, free: 3.449 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 -s gbode -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