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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008806/0.0008806, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001046/0.001926, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001375/0.002408, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.015/1.015, allocations: 177.1 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.105/1.12, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.385/2.385, allocations: 446.7 MB / 0.6745 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2585/2.643, allocations: 145.9 MB / 0.817 GB, free: 4.219 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.8183 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.792e-05/1.932e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.875 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001788/0.001807, allocations: 1.566 MB / 0.8198 GB, free: 1.297 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0006584/0.002465, allocations: 0.6114 MB / 0.8204 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.24e-05/0.002508, allocations: 4 kB / 0.8204 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.085e-05/0.002528, allocations: 3.938 kB / 0.8205 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.258e-05/0.002551, allocations: 4 kB / 0.8205 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001443/0.002695, allocations: 51.75 kB / 0.8205 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.639e-05/0.002772, allocations: 27.92 kB / 0.8205 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.374e-05/0.002846, allocations: 11.92 kB / 0.8205 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.002961, allocations: 31.86 kB / 0.8206 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.36e-05/0.003005, allocations: 7.984 kB / 0.8206 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.003017, allocations: 7.938 kB / 0.8206 GB, free: 0.5312 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.003132, allocations: 63.94 kB / 0.8206 GB, free: 480 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 9.368e-06/0.003142, allocations: 0 / 0.8206 GB, free: 480 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.327e-05/0.003155, allocations: 8 kB / 0.8207 GB, free: 472 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.003279, allocations: 59.77 kB / 0.8207 GB, free: 412 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.546e-05/0.003294, allocations: 0 / 0.8207 GB, free: 412 kB / 0.7917 GB Notification: Performance of FrontEnd: time 1.242e-06/0.003296, allocations: 0 / 0.8207 GB, free: 412 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.691e-05/0.003313, allocations: 0 / 0.8207 GB, free: 412 kB / 0.7917 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.0003306/0.003643, allocations: 264.4 kB / 0.821 GB, free: 124 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.869e-05/0.003672, allocations: 8.625 kB / 0.821 GB, free: 116 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002499/0.006171, allocations: 1.063 MB / 0.822 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.006343, allocations: 133.6 kB / 0.8221 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.006352, allocations: 384 / 0.8221 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.006376, allocations: 4.375 kB / 0.8221 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006446/0.007021, allocations: 338.5 kB / 0.8225 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.007028, allocations: 192 / 0.8225 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.007049, allocations: 4.359 kB / 0.8225 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.007055, allocations: 7.938 kB / 0.8225 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.007216, allocations: 59.97 kB / 0.8225 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.008428, allocations: 0.5936 MB / 0.8231 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006088/0.009037, allocations: 290.3 kB / 0.8234 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.341e-05/0.00912, allocations: 48.91 kB / 0.8234 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.009138, allocations: 3.938 kB / 0.8234 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.009165, allocations: 38.56 kB / 0.8235 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.009166, allocations: 0 / 0.8235 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0003255/0.009491, allocations: 121.7 kB / 0.8236 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.009519, allocations: 55.41 kB / 0.8236 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.182e-05/0.009571, allocations: 110.7 kB / 0.8238 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.009593, allocations: 25.7 kB / 0.8238 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.929e-05/0.009623, allocations: 84.14 kB / 0.8239 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.009653, allocations: 11.94 kB / 0.8239 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.571e-05/0.009719, allocations: 25.67 kB / 0.8239 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.005e-05/0.009789, allocations: 314.8 kB / 0.8242 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.726e-05/0.009866, allocations: 31.95 kB / 0.8242 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.123e-05/0.009937, allocations: 27.98 kB / 0.8243 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.01006, allocations: 52.89 kB / 0.8243 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01006, allocations: 0 / 0.8243 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001927/0.01025, allocations: 81.67 kB / 0.8244 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.01027, allocations: 4 kB / 0.8244 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.01027, allocations: 4.031 kB / 0.8244 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.098e-06/0.01028, allocations: 3.938 kB / 0.8244 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005456/0.01083, allocations: 207.8 kB / 0.8246 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.01083, allocations: 3.938 kB / 0.8246 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004166/0.01125, allocations: 175.8 kB / 0.8248 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.01126, allocations: 7.984 kB / 0.8248 GB, free: 12.07 MB / 0.8073 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.871e-05/0.01135, allocations: 121.8 kB / 0.8249 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.908e-05/0.01139, allocations: 7.938 kB / 0.8249 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.183e-05/0.01143, allocations: 7.625 kB / 0.8249 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001718/0.0116, allocations: 3.938 kB / 0.8249 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.01161, allocations: 4 kB / 0.8249 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.01161, allocations: 0 / 0.8249 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.01178, allocations: 129.8 kB / 0.825 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01178, allocations: 0 / 0.825 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005134/0.01229, allocations: 207.8 kB / 0.8252 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.105e-06/0.0123, allocations: 4 kB / 0.8252 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.0123, allocations: 0 / 0.8252 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.01232, allocations: 3.984 kB / 0.8252 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.01232, allocations: 3.938 kB / 0.8252 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01233, allocations: 4 kB / 0.8252 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.01257, allocations: 183.5 kB / 0.8254 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.0126, allocations: 4 kB / 0.8254 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004272/0.01303, allocations: 187.8 kB / 0.8256 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.318e-05/0.01305, allocations: 3.938 kB / 0.8256 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.01307, allocations: 3.984 kB / 0.8256 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.478e-05/0.01308, allocations: 16.84 kB / 0.8256 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01308, allocations: 0 / 0.8256 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001579/0.01324, allocations: 40 kB / 0.8257 GB, free: 11.11 MB / 0.8073 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 9.182e-05/0.01333, allocations: 76.42 kB / 0.8257 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002244/0.01356, allocations: 80.81 kB / 0.8258 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.01356, allocations: 0 / 0.8258 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.01366, allocations: 56.77 kB / 0.8259 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.01381, allocations: 30.45 kB / 0.8259 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006932/0.0145, allocations: 164.6 kB / 0.8261 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.154e-05/0.01453, allocations: 63.2 kB / 0.8261 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001584/0.01469, allocations: 32 kB / 0.8261 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.01486, allocations: 63.28 kB / 0.8262 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of SimCode: time 1.633e-06/0.01486, allocations: 0 / 0.8262 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of Templates: time 0.003794/0.01866, allocations: 2.811 MB / 0.829 GB, free: 7.664 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.172264970839024]