Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_latest_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.009285/0.009285, allocations: 100 kB / 15.73 MB, free: 6.047 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.001845/0.001845, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.717/2.717, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 63.91 kB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3179, allocations: 157.4 MB / 1.208 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002987/0.3209, allocations: 1.451 MB / 1.209 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.3222, allocations: 0.5687 MB / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.454e-05/0.3223, allocations: 0 / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.374e-05/0.3224, allocations: 0 / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.327e-05/0.3225, allocations: 3.938 kB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004809/0.323, allocations: 51.81 kB / 1.21 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.3231, allocations: 35.81 kB / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.3233, allocations: 11.98 kB / 1.21 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.3235, allocations: 4 kB / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.376e-05/0.3235, allocations: 15.92 kB / 1.21 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.3236, allocations: 4 kB / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.3237, allocations: 55.94 kB / 1.21 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.3238, allocations: 7.938 kB / 1.21 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.254e-05/0.3238, allocations: 7.938 kB / 1.21 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.324, allocations: 63.86 kB / 1.21 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.324, allocations: 7.984 kB / 1.21 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.054e-06/0.324, allocations: 0 / 1.21 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.324, allocations: 0 / 1.21 GB, free: 7.359 MB / 0.9669 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.000618/0.3246, allocations: 347.4 kB / 1.21 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.3247, allocations: 8.625 kB / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.012e-05/0.3248, allocations: 8.844 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.325, allocations: 176.2 kB / 1.21 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.325, allocations: 384 / 1.21 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.325, allocations: 4.375 kB / 1.21 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.3252, allocations: 50 kB / 1.211 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3252, allocations: 0 / 1.211 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.3252, allocations: 0 / 1.211 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.3252, allocations: 0 / 1.211 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.3253, allocations: 19.98 kB / 1.211 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004754/0.3258, allocations: 260.8 kB / 1.211 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.3259, allocations: 43 kB / 1.211 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.06e-05/0.326, allocations: 8.922 kB / 1.211 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008869/0.3269, allocations: 477.4 kB / 1.211 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.3269, allocations: 34.56 kB / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.3269, allocations: 0 / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003107/0.3273, allocations: 61.67 kB / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.3273, allocations: 59.34 kB / 1.211 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.3274, allocations: 105.8 kB / 1.212 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.3275, allocations: 29.7 kB / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.3275, allocations: 88.08 kB / 1.212 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.3276, allocations: 4.031 kB / 1.212 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.341e-05/0.3276, allocations: 17.72 kB / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.3278, allocations: 318.8 kB / 1.212 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.772e-05/0.3278, allocations: 8 kB / 1.212 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.549e-05/0.3279, allocations: 7.984 kB / 1.212 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.328, allocations: 36.78 kB / 1.212 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.328, allocations: 0 / 1.212 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001371/0.3281, allocations: 61.59 kB / 1.212 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.3282, allocations: 8 kB / 1.212 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3282, allocations: 0 / 1.212 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.3282, allocations: 0 / 1.212 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.452e-05/0.3283, allocations: 7.984 kB / 1.212 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3283, allocations: 320 / 1.212 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.674e-05/0.3284, allocations: 4 kB / 1.212 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.3284, allocations: 0 / 1.212 GB, free: 4.836 MB / 0.9669 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 0.0001281/0.3285, allocations: 113.8 kB / 1.212 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/0.3286, allocations: 8 kB / 1.212 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/0.3288, allocations: 61.14 kB / 1.212 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3288, allocations: 0 / 1.212 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.3288, allocations: 0 / 1.212 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3288, allocations: 0 / 1.212 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.329, allocations: 169.6 kB / 1.212 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.329, allocations: 3.938 kB / 1.212 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.585e-05/0.3291, allocations: 7.984 kB / 1.212 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3291, allocations: 4.031 kB / 1.212 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.3291, allocations: 0 / 1.212 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3291, allocations: 0 / 1.212 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.3291, allocations: 7.984 kB / 1.212 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.3293, allocations: 155.4 kB / 1.213 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-05/0.3294, allocations: 81.09 kB / 1.213 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.3294, allocations: 4 kB / 1.213 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.615e-05/0.3295, allocations: 8.031 kB / 1.213 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.3295, allocations: 0 / 1.213 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.3296, allocations: 0 / 1.213 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.106e-05/0.3296, allocations: 91.27 kB / 1.213 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3296, allocations: 0 / 1.213 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002797/0.3299, allocations: 16 kB / 1.213 GB, free: 4.016 MB / 0.9669 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.0003049/0.3302, allocations: 115.2 kB / 1.213 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001653/0.3304, allocations: 27.98 kB / 1.213 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3304, allocations: 0 / 1.213 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.218e-05/0.3305, allocations: 15.98 kB / 1.213 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.3307, allocations: 9.562 kB / 1.213 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004922/0.3312, allocations: 134.5 kB / 1.213 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.3316, allocations: 0.6845 MB / 1.214 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.351e-05/0.3316, allocations: 8.125 kB / 1.214 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.075e-05/0.3316, allocations: 7.438 kB / 1.214 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of SimCode: time 2.715e-06/0.3317, allocations: 0 / 1.214 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of Templates: time 0.003223/0.3349, allocations: 0.6815 MB / 1.214 GB, free: 2.277 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches