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.001211/0.001211, allocations: 105.2 kB / 16.27 MB, free: 6.414 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.001241/0.001241, allocations: 191.6 kB / 17.2 MB, free: 5.953 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.439/1.439, allocations: 222.9 MB / 240.9 MB, free: 15.04 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.525/2.525, allocations: 437 MB / 0.711 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 68.08 kB / 0.8699 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3081, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003054/0.3112, allocations: 1.464 MB / 1.019 GB, free: 9.133 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000934/0.3122, allocations: 0.5593 MB / 1.02 GB, free: 8.566 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.335e-05/0.3122, allocations: 0 / 1.02 GB, free: 8.566 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.102e-05/0.3123, allocations: 3.938 kB / 1.02 GB, free: 8.562 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.797e-05/0.3124, allocations: 19.86 kB / 1.02 GB, free: 8.543 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.3126, allocations: 47.83 kB / 1.02 GB, free: 8.496 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.814e-05/0.3127, allocations: 27.92 kB / 1.02 GB, free: 8.469 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.266e-05/0.3128, allocations: 7.984 kB / 1.02 GB, free: 8.461 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.101e-05/0.3129, allocations: 19.88 kB / 1.02 GB, free: 8.441 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.213e-05/0.313, allocations: 11.92 kB / 1.02 GB, free: 8.43 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.313, allocations: 0 / 1.02 GB, free: 8.43 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.3131, allocations: 59.94 kB / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.142e-05/0.3131, allocations: 4 kB / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.144e-05/0.3132, allocations: 11.94 kB / 1.02 GB, free: 8.355 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.3133, allocations: 59.86 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.3133, allocations: 0 / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3133, allocations: 0 / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.3133, allocations: 4 kB / 1.02 GB, free: 8.293 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.0004266/0.3138, allocations: 347.7 kB / 1.021 GB, free: 7.906 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.3138, allocations: 8.922 kB / 1.021 GB, free: 7.898 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.645e-05/0.3138, allocations: 4.938 kB / 1.021 GB, free: 7.895 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.314, allocations: 172.2 kB / 1.021 GB, free: 7.688 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.314, allocations: 4.375 kB / 1.021 GB, free: 7.684 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.314, allocations: 4.312 kB / 1.021 GB, free: 7.68 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.3141, allocations: 49.98 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3142, allocations: 0 / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.3142, allocations: 0 / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3142, allocations: 0 / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.3143, allocations: 23.92 kB / 1.021 GB, free: 7.602 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003562/0.3147, allocations: 264.8 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.669e-05/0.3148, allocations: 26.58 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.229e-05/0.3148, allocations: 20.91 kB / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008346/0.3157, allocations: 473.4 kB / 1.022 GB, free: 6.68 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.3157, allocations: 34.56 kB / 1.022 GB, free: 6.637 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 2.705e-06/0.3157, allocations: 0 / 1.022 GB, free: 6.637 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0002502/0.316, allocations: 65.53 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.316, allocations: 55.39 kB / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.749e-05/0.3161, allocations: 110 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.3161, allocations: 33.69 kB / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.3162, allocations: 84.14 kB / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.3162, allocations: 3.906 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.3163, allocations: 13.72 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.3164, allocations: 318.8 kB / 1.022 GB, free: 5.914 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.3166, allocations: 8 kB / 1.022 GB, free: 5.906 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.924e-05/0.3166, allocations: 11.98 kB / 1.022 GB, free: 5.895 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.3168, allocations: 36.78 kB / 1.022 GB, free: 5.855 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3168, allocations: 0 / 1.022 GB, free: 5.855 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001666/0.317, allocations: 53.69 kB / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.317, allocations: 4 kB / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.317, allocations: 0 / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.317, allocations: 0 / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.989e-05/0.3171, allocations: 4 kB / 1.022 GB, free: 5.789 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.3171, allocations: 0 / 1.022 GB, free: 5.789 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.3172, allocations: 12.02 kB / 1.022 GB, free: 5.777 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.3172, allocations: 0 / 1.022 GB, free: 5.777 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 0.0001137/0.3173, allocations: 117.8 kB / 1.022 GB, free: 5.652 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/0.3174, allocations: 3.906 kB / 1.022 GB, free: 5.648 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002125/0.3176, allocations: 73.06 kB / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.3176, allocations: 0 / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3176, allocations: 0 / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3176, allocations: 8.031 kB / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002757/0.3179, allocations: 165.6 kB / 1.023 GB, free: 5.352 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3179, allocations: 0 / 1.023 GB, free: 5.352 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.12e-05/0.318, allocations: 4 kB / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.318, allocations: 0 / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.318, allocations: 7.938 kB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.318, allocations: 0 / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.318, allocations: 0 / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.3183, allocations: 159.4 kB / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.051e-05/0.3184, allocations: 81.02 kB / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.3184, allocations: 4 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.295e-05/0.3185, allocations: 3.984 kB / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.3185, allocations: 0 / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.3186, allocations: 4 kB / 1.023 GB, free: 5.059 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.83e-05/0.3186, allocations: 91.56 kB / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3186, allocations: 0 / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002889/0.3189, allocations: 16 kB / 1.023 GB, free: 4.953 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.0002397/0.3192, allocations: 115.3 kB / 1.023 GB, free: 4.828 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001935/0.3194, allocations: 23.98 kB / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3194, allocations: 0 / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.39e-05/0.3195, allocations: 15.94 kB / 1.023 GB, free: 4.789 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.3198, allocations: 7.938 kB / 1.023 GB, free: 4.781 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003839/0.3202, allocations: 152.5 kB / 1.023 GB, free: 4.602 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.3205, allocations: 0.6768 MB / 1.024 GB, free: 3.898 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.803e-05/0.3205, allocations: 11.42 kB / 1.024 GB, free: 3.887 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.3205, allocations: 0 / 1.024 GB, free: 3.887 MB / 0.795 GB Notification: Performance of Templates: time 0.002798/0.3233, allocations: 0.8138 MB / 1.025 GB, free: 3.078 MB / 0.795 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