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.002345/0.002345, allocations: 77.55 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001912/0.001912, allocations: 162 kB / 23.01 MB, free: 4.949 MB / 14.72 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.407/1.407, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.857/2.857, allocations: 394.2 MB / 0.6386 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 67.89 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8053/0.8074, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002331/0.8098, allocations: 1.49 MB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0008951/0.8107, allocations: 0.5706 MB / 1.189 GB, free: 14.81 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.442e-05/0.8107, allocations: 0.6562 kB / 1.189 GB, free: 14.81 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.429e-05/0.8108, allocations: 4.547 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.71e-05/0.8108, allocations: 10.08 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.8111, allocations: 57.03 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 8.408e-05/0.8112, allocations: 34.55 kB / 1.189 GB, free: 14.75 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 7.801e-05/0.8112, allocations: 8.875 kB / 1.189 GB, free: 14.75 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.8113, allocations: 23.17 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.459e-05/0.8114, allocations: 10.25 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.8114, allocations: 2.406 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.8115, allocations: 55.2 kB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.8115, allocations: 9.594 kB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.105e-05/0.8116, allocations: 8.891 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.8117, allocations: 64.09 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.8117, allocations: 1.281 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8117, allocations: 0 / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.8117, allocations: 0 / 1.189 GB, free: 14.68 MB / 1.076 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.000337/0.812, allocations: 285 kB / 1.189 GB, free: 14.4 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.8121, allocations: 9.719 kB / 1.189 GB, free: 14.4 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01691/0.829, allocations: 2.437 MB / 1.192 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.8293, allocations: 158.3 kB / 1.192 GB, free: 13.96 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.8293, allocations: 5.562 kB / 1.192 GB, free: 13.96 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.8293, allocations: 5.984 kB / 1.192 GB, free: 13.96 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005815/0.8352, allocations: 1.014 MB / 1.193 GB, free: 13.79 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.8352, allocations: 0 / 1.193 GB, free: 13.79 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/0.8352, allocations: 0 / 1.193 GB, free: 13.79 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.8352, allocations: 5.844 kB / 1.193 GB, free: 13.78 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01086/0.8461, allocations: 1.854 MB / 1.195 GB, free: 13.51 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006737/0.8528, allocations: 1.39 MB / 1.196 GB, free: 13.01 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01095/0.8637, allocations: 1.868 MB / 1.198 GB, free: 12.71 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005654/0.8694, allocations: 0.938 MB / 1.199 GB, free: 12.57 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.8694, allocations: 5.422 kB / 1.199 GB, free: 12.56 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.8694, allocations: 32.12 kB / 1.199 GB, free: 12.52 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 2.144e-06/0.8694, allocations: 1.031 kB / 1.199 GB, free: 12.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0161/0.8855, allocations: 2.741 MB / 1.201 GB, free: 12.1 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.8856, allocations: 52.25 kB / 1.201 GB, free: 12.04 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.628e-05/0.8856, allocations: 121.1 kB / 1.202 GB, free: 11.92 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.8857, allocations: 27.33 kB / 1.202 GB, free: 11.89 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.654e-05/0.8857, allocations: 90.83 kB / 1.202 GB, free: 11.8 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.8857, allocations: 0.8438 kB / 1.202 GB, free: 11.8 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.962e-05/0.8858, allocations: 23.44 kB / 1.202 GB, free: 11.79 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.893e-05/0.8859, allocations: 319.5 kB / 1.202 GB, free: 11.47 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005521/0.8914, allocations: 0.929 MB / 1.203 GB, free: 11.33 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005457/0.8968, allocations: 0.9282 MB / 1.204 GB, free: 11.2 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01046/0.9073, allocations: 1.685 MB / 1.205 GB, free: 10.95 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.9073, allocations: 3.938 kB / 1.205 GB, free: 10.95 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.01073/0.918, allocations: 1.817 MB / 1.207 GB, free: 10.65 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.9181, allocations: 6.094 kB / 1.207 GB, free: 10.65 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.9181, allocations: 0 / 1.207 GB, free: 10.65 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.9181, allocations: 0 / 1.207 GB, free: 10.65 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003126/0.9212, allocations: 474.3 kB / 1.208 GB, free: 10.59 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.9212, allocations: 0 / 1.208 GB, free: 10.59 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003051/0.9243, allocations: 448.5 kB / 1.208 GB, free: 10.55 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.95e-05/0.9243, allocations: 10.88 kB / 1.208 GB, free: 10.54 MB / 1.076 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.0001172/0.9244, allocations: 112.6 kB / 1.208 GB, free: 10.43 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.473e-05/0.9245, allocations: 5.859 kB / 1.208 GB, free: 10.42 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.933e-05/0.9246, allocations: 15.17 kB / 1.208 GB, free: 10.41 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.9246, allocations: 1.156 kB / 1.208 GB, free: 10.41 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.9246, allocations: 0 / 1.208 GB, free: 10.41 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.9246, allocations: 1.797 kB / 1.208 GB, free: 10.41 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000311/0.9249, allocations: 247.8 kB / 1.208 GB, free: 10.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.9249, allocations: 3.938 kB / 1.208 GB, free: 10.19 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003139/0.928, allocations: 469.8 kB / 1.209 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.928, allocations: 3.938 kB / 1.209 GB, free: 10.13 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.589e-05/0.9281, allocations: 10.88 kB / 1.209 GB, free: 10.13 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.9281, allocations: 4 kB / 1.209 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.9281, allocations: 1.438 kB / 1.209 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01085/0.9389, allocations: 1.902 MB / 1.211 GB, free: 9.738 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.775e-05/0.9389, allocations: 15 kB / 1.211 GB, free: 9.727 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.45e-05/0.939, allocations: 2.094 kB / 1.211 GB, free: 9.727 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003061/0.9421, allocations: 446.4 kB / 1.211 GB, free: 9.68 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.9421, allocations: 2.781 kB / 1.211 GB, free: 9.68 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.9421, allocations: 6.25 kB / 1.211 GB, free: 9.68 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.475e-05/0.9422, allocations: 92.75 kB / 1.211 GB, free: 9.598 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.9422, allocations: 1.156 kB / 1.211 GB, free: 9.598 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003234/0.9425, allocations: 35.52 kB / 1.211 GB, free: 9.598 MB / 1.076 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.0001064/0.9426, allocations: 96.83 kB / 1.211 GB, free: 9.508 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01111/0.9537, allocations: 1.878 MB / 1.213 GB, free: 9.223 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.9537, allocations: 0 / 1.213 GB, free: 9.223 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.005451/0.9592, allocations: 0.9375 MB / 1.214 GB, free: 9.086 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.9594, allocations: 4.969 kB / 1.214 GB, free: 9.082 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006009/0.9654, allocations: 1.05 MB / 1.215 GB, free: 8.824 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.928e-05/0.9655, allocations: 66.73 kB / 1.215 GB, free: 8.75 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002736/0.9658, allocations: 47.91 kB / 1.215 GB, free: 8.715 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.966, allocations: 20.69 kB / 1.215 GB, free: 8.707 MB / 1.076 GB Notification: Performance of SimCode: time 1.052e-06/0.966, allocations: 0 / 1.215 GB, free: 8.707 MB / 1.076 GB Notification: Performance of Templates: time 0.006234/0.9722, allocations: 2.701 MB / 1.218 GB, free: 7.648 MB / 1.076 GB " [Timeout remaining time 299] 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.743211596040055]