Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001583/0.001583, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001758/0.001758, allocations: 207.8 kB / 22.99 MB, free: 4.957 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.64/1.64, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.374/3.374, allocations: 0.49 GB / 0.7959 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_12_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.002097/0.002097, allocations: 72.69 kB / 1.155 GB, free: 25.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4204, allocations: 176.1 MB / 1.327 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003165/0.4236, allocations: 1.485 MB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.4248, allocations: 0.5806 MB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.045e-05/0.4248, allocations: 4 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.143e-05/0.4249, allocations: 0 / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.944e-05/0.4249, allocations: 7.875 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003388/0.4253, allocations: 67.73 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.714e-05/0.4254, allocations: 19.94 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.4255, allocations: 11.98 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.4256, allocations: 19.92 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.207e-05/0.4256, allocations: 15.92 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.4257, allocations: 8 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.4258, allocations: 55.95 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.4258, allocations: 4 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.969e-05/0.4258, allocations: 11.88 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.426, allocations: 79.7 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.426, allocations: 0 / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.253e-06/0.426, allocations: 4 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.426, allocations: 0 / 1.329 GB, free: 14.49 MB / 1.029 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.0004655/0.4265, allocations: 278.1 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.4265, allocations: 8.031 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.4267, allocations: 16.92 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.4269, allocations: 122.4 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.4269, allocations: 384 / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.4269, allocations: 12.38 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.4271, allocations: 42 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.4271, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.4271, allocations: 4 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.4271, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.152e-05/0.4272, allocations: 23.91 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003443/0.4275, allocations: 200.6 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.711e-05/0.4276, allocations: 34.5 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.757e-05/0.4277, allocations: 12.91 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006189/0.4283, allocations: 91.88 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.4283, allocations: 34.56 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.4283, allocations: 3.938 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002562/0.4286, allocations: 69.62 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.4286, allocations: 51.41 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.4288, allocations: 109.8 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.4288, allocations: 25.7 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.37e-05/0.4288, allocations: 84.14 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.4289, allocations: 11.94 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.4289, allocations: 13.72 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.429, allocations: 319 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.54e-05/0.4291, allocations: 11.98 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.395e-05/0.4291, allocations: 8 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.134e-05/0.4292, allocations: 28.78 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4292, allocations: 0 / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001211/0.4293, allocations: 53.62 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.4293, allocations: 7.984 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.4294, allocations: 8.031 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.4294, allocations: 4 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.655e-05/0.4294, allocations: 8 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.4294, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.936e-05/0.4295, allocations: 384 / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.4295, allocations: 4 kB / 1.331 GB, free: 12.65 MB / 1.029 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 9.237e-05/0.4296, allocations: 114.3 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.4296, allocations: 7.953 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001724/0.4298, allocations: 69.17 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.4298, allocations: 4.031 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4298, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.4298, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.4299, allocations: 109.3 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.4299, allocations: 3.938 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.95e-05/0.43, allocations: 4 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.43, allocations: 0 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.43, allocations: 0 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.43, allocations: 0 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.43, allocations: 4 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.4302, allocations: 163.4 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.163e-05/0.4302, allocations: 7.938 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.4302, allocations: 0 / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.04e-05/0.4303, allocations: 3.984 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.4303, allocations: 7.984 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.4303, allocations: 0 / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.381e-05/0.4304, allocations: 91.27 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4304, allocations: 0 / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002409/0.4306, allocations: 15.94 kB / 1.332 GB, free: 11.99 MB / 1.029 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.0002037/0.4308, allocations: 115.2 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000149/0.431, allocations: 27.98 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.431, allocations: 3.938 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.184e-05/0.431, allocations: 8 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.4312, allocations: 7.875 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003659/0.4316, allocations: 134.8 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.479e-05/0.4317, allocations: 63.47 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.491e-05/0.4317, allocations: 7.906 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/0.4317, allocations: 11.44 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4317, allocations: 0 / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of Templates: time 0.003598/0.4353, allocations: 0.7011 MB / 1.333 GB, free: 10.86 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.726333648955915]