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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 225.6 MB / 249.4 MB, free: 3.297 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.565/2.565, allocations: 443.5 MB / 0.7304 GB, free: 13.87 MB / 0.5762 GB " [Timeout remaining time 177] 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=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 75.83 kB / 1.059 GB, free: 344 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3331, allocations: 160.7 MB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002548/0.3356, allocations: 1.466 MB / 1.218 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009698/0.3366, allocations: 0.5784 MB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.532e-05/0.3366, allocations: 0 / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.296e-05/0.3367, allocations: 15.92 kB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.431e-05/0.3367, allocations: 3.938 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.337, allocations: 47.83 kB / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.587e-05/0.337, allocations: 23.92 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.569e-05/0.3371, allocations: 4 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.646e-05/0.3372, allocations: 15.92 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.189e-05/0.3372, allocations: 15.92 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.3373, allocations: 4 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.3374, allocations: 59.94 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.868e-06/0.3374, allocations: 4 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.3374, allocations: 15.88 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.3376, allocations: 63.73 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3376, allocations: 0 / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.02e-07/0.3376, allocations: 0 / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.3376, allocations: 0 / 1.218 GB, free: 12.96 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.000452/0.338, allocations: 355.2 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.3381, allocations: 8.031 kB / 1.219 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.3381, allocations: 4.938 kB / 1.219 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.3382, allocations: 172.3 kB / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.3382, allocations: 8.375 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.3383, allocations: 384 / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.3384, allocations: 49.98 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.3384, allocations: 0 / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.3384, allocations: 0 / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.3384, allocations: 0 / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.185e-05/0.3385, allocations: 19.98 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003652/0.3388, allocations: 264.8 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.614e-05/0.3389, allocations: 26.58 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.927e-05/0.339, allocations: 16.91 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008281/0.3398, allocations: 473.4 kB / 1.22 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.3398, allocations: 38.55 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.3398, allocations: 0 / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002668/0.3401, allocations: 69.58 kB / 1.22 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.3401, allocations: 55.34 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.617e-05/0.3402, allocations: 113.8 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.3403, allocations: 25.83 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.3403, allocations: 96.12 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.3403, allocations: 3.953 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.3404, allocations: 17.72 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.3405, allocations: 310.8 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.74e-05/0.3405, allocations: 11.98 kB / 1.22 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.053e-05/0.3406, allocations: 8 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.005e-05/0.3406, allocations: 32.84 kB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3407, allocations: 0 / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000119/0.3408, allocations: 57.61 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3408, allocations: 8 kB / 1.221 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3408, allocations: 0 / 1.221 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.3408, allocations: 0 / 1.221 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.05e-05/0.3409, allocations: 8 kB / 1.221 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.3409, allocations: 0 / 1.221 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.667e-05/0.3409, allocations: 12.02 kB / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.3409, allocations: 0 / 1.221 GB, free: 10.43 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 8.034e-05/0.341, allocations: 109.8 kB / 1.221 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.341, allocations: 7.953 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001742/0.3412, allocations: 69.08 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3412, allocations: 0 / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.3412, allocations: 0 / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3412, allocations: 0 / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.3414, allocations: 169.6 kB / 1.221 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3414, allocations: 0 / 1.221 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.529e-05/0.3414, allocations: 4 kB / 1.221 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3414, allocations: 0 / 1.221 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.3415, allocations: 0 / 1.221 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3415, allocations: 0 / 1.221 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3415, allocations: 0 / 1.221 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.3416, allocations: 159.5 kB / 1.221 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.3417, allocations: 81.06 kB / 1.221 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.3417, allocations: 3.984 kB / 1.221 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.298e-05/0.3418, allocations: 4 kB / 1.221 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.3418, allocations: 7.922 kB / 1.221 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.3418, allocations: 4 kB / 1.221 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.276e-05/0.3419, allocations: 91.22 kB / 1.221 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3419, allocations: 0 / 1.221 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002359/0.3421, allocations: 15.98 kB / 1.221 GB, free: 9.613 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.0001667/0.3423, allocations: 119.2 kB / 1.221 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001433/0.3424, allocations: 27.97 kB / 1.221 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3424, allocations: 3.938 kB / 1.221 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.231e-05/0.3424, allocations: 8 kB / 1.221 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.3427, allocations: 3.938 kB / 1.221 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003055/0.343, allocations: 138.5 kB / 1.222 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.3433, allocations: 0.6846 MB / 1.222 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.161e-05/0.3433, allocations: 0 / 1.222 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.178e-05/0.3433, allocations: 11.42 kB / 1.222 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of SimCode: time 5.01e-07/0.3433, allocations: 0 / 1.222 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of Templates: time 0.003112/0.3464, allocations: 0.6772 MB / 1.223 GB, free: 7.891 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.843580860644579]