Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.00284/0.002841, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.461/1.461, allocations: 222.9 MB / 241 MB, free: 15.14 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.719/2.719, allocations: 437.1 MB / 0.7112 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 71.88 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.301/1.303, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002975/1.306, allocations: 1.457 MB / 1.169 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000977/1.307, allocations: 0.5565 MB / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.632e-05/1.307, allocations: 0 / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.839e-05/1.307, allocations: 3.938 kB / 1.169 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.002e-05/1.307, allocations: 7.938 kB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003083/1.308, allocations: 55.81 kB / 1.169 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.372e-05/1.308, allocations: 31.86 kB / 1.169 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.207e-05/1.308, allocations: 0 / 1.169 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.293e-05/1.308, allocations: 15.98 kB / 1.169 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.76e-05/1.308, allocations: 11.92 kB / 1.169 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/1.308, allocations: 0 / 1.169 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/1.308, allocations: 55.95 kB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/1.308, allocations: 7.938 kB / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.257e-05/1.308, allocations: 19.86 kB / 1.169 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001504/1.308, allocations: 63.86 kB / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/1.308, allocations: 0 / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.036e-06/1.308, allocations: 0 / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.995e-06/1.308, allocations: 3.938 kB / 1.17 GB, free: 1.535 MB / 0.8887 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.0004271/1.309, allocations: 347.3 kB / 1.17 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/1.309, allocations: 12.62 kB / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/1.309, allocations: 4.844 kB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/1.309, allocations: 174.2 kB / 1.17 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/1.309, allocations: 384 / 1.17 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/1.309, allocations: 384 / 1.17 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/1.309, allocations: 46 kB / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/1.309, allocations: 0 / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/1.309, allocations: 0 / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/1.309, allocations: 0 / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.641e-05/1.309, allocations: 23.97 kB / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003272/1.31, allocations: 268.7 kB / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.806e-05/1.31, allocations: 30.56 kB / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.028e-05/1.31, allocations: 20.91 kB / 1.17 GB, free: 492 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008348/1.311, allocations: 477.4 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/1.311, allocations: 30.56 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/1.311, allocations: 0 / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.0002531/1.311, allocations: 65.61 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/1.311, allocations: 51.41 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.379e-05/1.311, allocations: 113.8 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/1.311, allocations: 29.83 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.901e-05/1.311, allocations: 84.14 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/1.311, allocations: 11.89 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/1.311, allocations: 9.719 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001142/1.311, allocations: 318.8 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.279e-05/1.311, allocations: 7.984 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.412e-05/1.311, allocations: 8 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.885e-05/1.311, allocations: 32.91 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/1.311, allocations: 3.938 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001212/1.312, allocations: 53.62 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/1.312, allocations: 7.984 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/1.312, allocations: 0 / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/1.312, allocations: 0 / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.917e-05/1.312, allocations: 8 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/1.312, allocations: 0 / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.34e-05/1.312, allocations: 11.88 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/1.312, allocations: 0 / 1.172 GB, free: 15.02 MB / 0.9044 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.511e-05/1.312, allocations: 125.7 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/1.312, allocations: 0 / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/1.312, allocations: 65.14 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/1.312, allocations: 0 / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/1.312, allocations: 4 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/1.312, allocations: 77.11 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/1.312, allocations: 4.031 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.278e-05/1.312, allocations: 8 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.882e-05/1.312, allocations: 3.938 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001579/1.312, allocations: 129 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002324/1.313, allocations: 238.6 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.872e-05/1.313, allocations: 12 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.763e-05/1.313, allocations: 87.27 kB / 1.172 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of Backend: time 2.91e-07/1.313, allocations: 0 / 1.172 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000415/1.313, allocations: 107.8 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004608/1.314, allocations: 0.5659 MB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of Templates: time 0.003024/1.317, allocations: 0.7863 MB / 1.174 GB, free: 12.71 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches