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.001534/0.001534, allocations: 108.1 kB / 16.41 MB, free: 6.461 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.001913/0.001913, allocations: 187 kB / 17.34 MB, free: 5.719 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 14.95 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.325/2.325, allocations: 390.3 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 67.89 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101/1.102, allocations: 140.4 MB / 1.089 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002726/1.105, allocations: 1.445 MB / 1.09 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005111/1.106, allocations: 201 kB / 1.09 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.653e-05/1.106, allocations: 1 kB / 1.09 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.636e-05/1.106, allocations: 0.5625 kB / 1.09 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.842e-05/1.106, allocations: 8.938 kB / 1.09 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/1.106, allocations: 33.2 kB / 1.09 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.024e-05/1.106, allocations: 25.38 kB / 1.09 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/1.106, allocations: 8.656 kB / 1.09 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.101e-05/1.106, allocations: 12.8 kB / 1.09 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.944e-05/1.107, allocations: 18.66 kB / 1.09 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/1.107, allocations: 1.312 kB / 1.09 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/1.107, allocations: 33.88 kB / 1.09 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/1.107, allocations: 0.9375 kB / 1.09 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.392e-05/1.107, allocations: 13.03 kB / 1.09 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001391/1.107, allocations: 38.28 kB / 1.09 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/1.107, allocations: 2.016 kB / 1.09 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.064e-06/1.107, allocations: 0 / 1.09 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.532e-06/1.107, allocations: 0 / 1.09 GB, free: 4.578 MB / 0.8575 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.0004301/1.107, allocations: 354.5 kB / 1.091 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/1.107, allocations: 10.83 kB / 1.091 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/1.107, allocations: 2 kB / 1.091 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.372e-05/1.108, allocations: 163.6 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/1.108, allocations: 5.375 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/1.108, allocations: 1.828 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/1.108, allocations: 48.78 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/1.108, allocations: 1.188 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/1.108, allocations: 3.938 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/1.108, allocations: 8.891 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/1.108, allocations: 36.98 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003006/1.108, allocations: 247.3 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/1.108, allocations: 45.25 kB / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.26e-05/1.109, allocations: 32.08 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.291e-05/1.109, allocations: 80.75 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/1.109, allocations: 32.38 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/1.109, allocations: 0 / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000368/1.109, allocations: 84.62 kB / 1.092 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/1.109, allocations: 59.47 kB / 1.092 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.259e-05/1.109, allocations: 103.2 kB / 1.092 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/1.109, allocations: 26.61 kB / 1.092 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.816e-05/1.109, allocations: 81.53 kB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/1.109, allocations: 5.547 kB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/1.109, allocations: 16.47 kB / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.441e-05/1.109, allocations: 313.4 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.81e-05/1.109, allocations: 22.53 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.943e-05/1.109, allocations: 14.78 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/1.11, allocations: 37.64 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.11, allocations: 0 / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000194/1.11, allocations: 71.16 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/1.11, allocations: 9.938 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/1.11, allocations: 0 / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/1.11, allocations: 0.7969 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.145e-05/1.11, allocations: 12.86 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/1.11, allocations: 0 / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.928e-05/1.11, allocations: 7.219 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/1.11, allocations: 4.875 kB / 1.092 GB, free: 2.754 MB / 0.8575 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 5.723e-05/1.11, allocations: 112.3 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/1.11, allocations: 6.016 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/1.11, allocations: 71.75 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/1.11, allocations: 0.5312 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.11, allocations: 0.875 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/1.11, allocations: 4.734 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/1.111, allocations: 164.4 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/1.111, allocations: 0 / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.339e-05/1.111, allocations: 17.83 kB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/1.111, allocations: 0 / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/1.111, allocations: 0.8438 kB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/1.111, allocations: 5.406 kB / 1.093 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/1.111, allocations: 0 / 1.093 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/1.111, allocations: 163.3 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.083e-05/1.111, allocations: 82.41 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/1.111, allocations: 1.453 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.415e-05/1.111, allocations: 6.234 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/1.111, allocations: 2.344 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/1.111, allocations: 1.516 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.794e-05/1.111, allocations: 84.69 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/1.111, allocations: 0 / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002283/1.111, allocations: 10.59 kB / 1.093 GB, free: 2.059 MB / 0.8575 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.0001515/1.112, allocations: 111.2 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002418/1.112, allocations: 40.44 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.145e-06/1.112, allocations: 0 / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.616e-05/1.112, allocations: 19.88 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/1.112, allocations: 7.672 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002808/1.112, allocations: 145.5 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/1.113, allocations: 0.6755 MB / 1.094 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.353e-05/1.113, allocations: 9.922 kB / 1.094 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/1.113, allocations: 0 / 1.094 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of Templates: time 0.002643/1.115, allocations: 0.6651 MB / 1.095 GB, free: 1.043 MB / 0.8575 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