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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001198/0.001198, allocations: 105.6 kB / 16.35 MB, free: 5.824 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.001228/0.001228, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.208/1.208, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.171/2.171, allocations: 437.1 MB / 0.7112 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 64.09 kB / 0.8707 GB, free: 1.516 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2306, allocations: 151.6 MB / 1.019 GB, free: 9.914 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002305/0.2329, allocations: 1.464 MB / 1.02 GB, free: 8.434 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0007645/0.2337, allocations: 0.5593 MB / 1.021 GB, free: 7.867 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.913e-05/0.2337, allocations: 0 / 1.021 GB, free: 7.867 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.587e-05/0.2338, allocations: 0 / 1.021 GB, free: 7.867 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.859e-05/0.2338, allocations: 19.8 kB / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.2341, allocations: 43.83 kB / 1.021 GB, free: 7.805 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.161e-05/0.2341, allocations: 31.86 kB / 1.021 GB, free: 7.773 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.942e-05/0.2342, allocations: 11.98 kB / 1.021 GB, free: 7.762 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.859e-05/0.2343, allocations: 11.94 kB / 1.021 GB, free: 7.75 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.578e-05/0.2343, allocations: 15.92 kB / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.2344, allocations: 0 / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.959e-05/0.2345, allocations: 59.94 kB / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.2345, allocations: 4 kB / 1.021 GB, free: 7.672 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.297e-05/0.2345, allocations: 11.94 kB / 1.021 GB, free: 7.66 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.2346, allocations: 63.86 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2346, allocations: 3.984 kB / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.565e-06/0.2346, allocations: 4 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.2347, allocations: 0 / 1.021 GB, free: 7.59 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.0003455/0.235, allocations: 347.4 kB / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.235, allocations: 8.625 kB / 1.021 GB, free: 7.195 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.709e-05/0.2351, allocations: 4.938 kB / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.39e-05/0.2352, allocations: 172.2 kB / 1.022 GB, free: 6.984 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.2352, allocations: 4.375 kB / 1.022 GB, free: 6.98 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.2352, allocations: 4.375 kB / 1.022 GB, free: 6.977 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.2353, allocations: 46 kB / 1.022 GB, free: 6.926 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.2353, allocations: 0 / 1.022 GB, free: 6.926 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.2353, allocations: 0 / 1.022 GB, free: 6.926 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.2353, allocations: 0 / 1.022 GB, free: 6.926 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.525e-05/0.2354, allocations: 23.97 kB / 1.022 GB, free: 6.902 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000268/0.2357, allocations: 260.8 kB / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.853e-05/0.2358, allocations: 38.5 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.95e-05/0.2358, allocations: 12.92 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006939/0.2365, allocations: 477.4 kB / 1.022 GB, free: 5.977 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.2366, allocations: 38.56 kB / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.2366, allocations: 0 / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0002094/0.2368, allocations: 61.58 kB / 1.022 GB, free: 5.863 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.2368, allocations: 55.34 kB / 1.023 GB, free: 5.797 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.751e-05/0.2369, allocations: 113.8 kB / 1.023 GB, free: 5.676 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.2369, allocations: 25.7 kB / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.133e-05/0.237, allocations: 80.27 kB / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.367e-05/0.237, allocations: 11.91 kB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/0.237, allocations: 13.72 kB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.241e-05/0.2371, allocations: 314.8 kB / 1.023 GB, free: 5.215 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.904e-05/0.2371, allocations: 12 kB / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.951e-05/0.2372, allocations: 7.984 kB / 1.023 GB, free: 5.195 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.253e-05/0.2372, allocations: 32.78 kB / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2373, allocations: 12 kB / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001033/0.2374, allocations: 57.62 kB / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.2374, allocations: 4 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.2374, allocations: 0 / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.2374, allocations: 0 / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-05/0.2375, allocations: 7.984 kB / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.2375, allocations: 0 / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.23e-05/0.2375, allocations: 4 kB / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.2375, allocations: 3.938 kB / 1.023 GB, free: 5.066 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 5.642e-05/0.2376, allocations: 117.8 kB / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.2376, allocations: 3.906 kB / 1.023 GB, free: 4.938 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.2378, allocations: 61.2 kB / 1.023 GB, free: 4.871 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2378, allocations: 0 / 1.023 GB, free: 4.871 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.2378, allocations: 0 / 1.023 GB, free: 4.871 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.2378, allocations: 4 kB / 1.023 GB, free: 4.867 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.2379, allocations: 165.6 kB / 1.024 GB, free: 4.656 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2379, allocations: 3.938 kB / 1.024 GB, free: 4.652 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.055e-05/0.238, allocations: 12.02 kB / 1.024 GB, free: 4.641 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.238, allocations: 0 / 1.024 GB, free: 4.641 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.238, allocations: 4 kB / 1.024 GB, free: 4.637 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.238, allocations: 0 / 1.024 GB, free: 4.637 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.238, allocations: 320 / 1.024 GB, free: 4.637 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.2382, allocations: 143.5 kB / 1.024 GB, free: 4.48 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.329e-05/0.2382, allocations: 85.02 kB / 1.024 GB, free: 4.379 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.2382, allocations: 8.016 kB / 1.024 GB, free: 4.371 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.609e-05/0.2383, allocations: 0 / 1.024 GB, free: 4.371 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.641e-05/0.2383, allocations: 4 kB / 1.024 GB, free: 4.367 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.2383, allocations: 4 kB / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.465e-05/0.2384, allocations: 87.25 kB / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2384, allocations: 0 / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002164/0.2386, allocations: 16 kB / 1.024 GB, free: 4.262 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.0001384/0.2387, allocations: 119.2 kB / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001123/0.2388, allocations: 23.98 kB / 1.024 GB, free: 4.109 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2389, allocations: 0 / 1.024 GB, free: 4.109 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.127e-05/0.2389, allocations: 11.98 kB / 1.024 GB, free: 4.098 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.2391, allocations: 11.94 kB / 1.024 GB, free: 4.086 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002346/0.2393, allocations: 118.7 kB / 1.024 GB, free: 3.945 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.2395, allocations: 0.6885 MB / 1.025 GB, free: 3.23 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.019e-05/0.2396, allocations: 7.938 kB / 1.025 GB, free: 3.223 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.756e-05/0.2396, allocations: 11.44 kB / 1.025 GB, free: 3.211 MB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.2396, allocations: 0 / 1.025 GB, free: 3.211 MB / 0.795 GB Notification: Performance of Templates: time 0.00231/0.2419, allocations: 0.6674 MB / 1.025 GB, free: 2.547 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 -s cvode -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