Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_9_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.001514/0.001514, allocations: 110.9 kB / 16.42 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.001703/0.001703, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.426/1.426, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.254/2.254, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 67.89 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9244/0.9257, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002289/0.928, allocations: 1.451 MB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008209/0.9288, allocations: 0.5751 MB / 1.091 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.571e-05/0.9289, allocations: 0 / 1.091 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.543e-05/0.9289, allocations: 5.344 kB / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.383e-05/0.929, allocations: 5.375 kB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.9292, allocations: 49.34 kB / 1.091 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.325e-05/0.9293, allocations: 27.11 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.69e-05/0.9294, allocations: 12.05 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.498e-05/0.9295, allocations: 15.77 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.369e-05/0.9296, allocations: 14.86 kB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.9296, allocations: 1.969 kB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.9297, allocations: 53.69 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.9297, allocations: 9.875 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.576e-05/0.9298, allocations: 16.08 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.9299, allocations: 62.66 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.9299, allocations: 0.75 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.323e-06/0.93, allocations: 4 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.829e-06/0.93, allocations: 0 / 1.091 GB, free: 3.98 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.0003598/0.9303, allocations: 348.4 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.9304, allocations: 9.062 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.9304, allocations: 7.672 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.183e-05/0.9305, allocations: 165.9 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.9305, allocations: 1.719 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.9305, allocations: 5.672 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.9307, allocations: 50.25 kB / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.9307, allocations: 0 / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.9307, allocations: 5.578 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.9307, allocations: 0 / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.096e-05/0.9308, allocations: 19.97 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002662/0.9311, allocations: 253.9 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.378e-05/0.9312, allocations: 30.98 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.558e-05/0.9312, allocations: 17.42 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007282/0.932, allocations: 474.9 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.932, allocations: 40.19 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.932, allocations: 4 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002392/0.9323, allocations: 66.2 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.638e-05/0.9323, allocations: 52.02 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.949e-05/0.9324, allocations: 116.2 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.053e-06/0.9324, allocations: 25.7 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.466e-05/0.9324, allocations: 86.81 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.9324, allocations: 5.953 kB / 1.093 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.9324, allocations: 20.75 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.316e-05/0.9325, allocations: 317.7 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.559e-05/0.9325, allocations: 7.938 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.758e-05/0.9326, allocations: 11.42 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.951e-05/0.9327, allocations: 29.77 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.9327, allocations: 3.938 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001114/0.9328, allocations: 56.28 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.9328, allocations: 5.375 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.9328, allocations: 0 / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.9328, allocations: 0.6094 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.449e-05/0.9329, allocations: 6.281 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.9329, allocations: 0.7812 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.51e-05/0.933, allocations: 7.578 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.933, allocations: 0 / 1.093 GB, free: 1.781 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 4.82e-05/0.933, allocations: 120.9 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.9331, allocations: 5.438 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/0.9332, allocations: 61.59 kB / 1.093 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.9333, allocations: 0.7969 kB / 1.093 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.9333, allocations: 0.75 kB / 1.093 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.027e-05/0.9333, allocations: 79.39 kB / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.9333, allocations: 0.7031 kB / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.126e-05/0.9334, allocations: 2.844 kB / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.9334, allocations: 10.86 kB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001308/0.9335, allocations: 135.3 kB / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001428/0.9337, allocations: 227 kB / 1.094 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.656e-05/0.9337, allocations: 9.375 kB / 1.094 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.839e-05/0.9338, allocations: 91.55 kB / 1.094 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of Backend: time 2.01e-07/0.9338, allocations: 0 / 1.094 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004115/0.9342, allocations: 99.88 kB / 1.094 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0002947/0.9345, allocations: 0.5713 MB / 1.094 GB, free: 444 kB / 0.8575 GB Notification: Performance of Templates: time 0.003241/0.9378, allocations: 0.7886 MB / 1.095 GB, free: 332 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches