Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_11_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.001292/0.001292, allocations: 116.2 kB / 16.81 MB, free: 5.77 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.001281/0.001281, allocations: 199.2 kB / 17.77 MB, free: 5.117 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.546/1.546, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.873/2.873, allocations: 476.7 MB / 0.7556 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 64.67 kB / 1.097 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3968, allocations: 168.7 MB / 1.262 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002926/0.3997, allocations: 1.466 MB / 1.263 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.4008, allocations: 0.5571 MB / 1.264 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.655e-05/0.4008, allocations: 0 / 1.264 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.163e-05/0.4008, allocations: 7.938 kB / 1.264 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.026e-05/0.4009, allocations: 7.938 kB / 1.264 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.4012, allocations: 43.83 kB / 1.264 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.037e-05/0.4013, allocations: 35.84 kB / 1.264 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.96e-05/0.4014, allocations: 11.98 kB / 1.264 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.171e-05/0.4014, allocations: 8 kB / 1.264 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.826e-05/0.4015, allocations: 19.86 kB / 1.264 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.4015, allocations: 4 kB / 1.264 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.4016, allocations: 47.95 kB / 1.264 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.862e-05/0.4017, allocations: 19.86 kB / 1.264 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.022e-05/0.4017, allocations: 7.938 kB / 1.264 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.4018, allocations: 63.8 kB / 1.264 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4018, allocations: 0 / 1.264 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.893e-06/0.4018, allocations: 0 / 1.264 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.4019, allocations: 0 / 1.264 GB, free: 10.64 MB / 0.9825 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.0004902/0.4023, allocations: 355.2 kB / 1.265 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.4024, allocations: 8.031 kB / 1.265 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.4024, allocations: 0.9375 kB / 1.265 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.4026, allocations: 184.3 kB / 1.265 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.4026, allocations: 384 / 1.265 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.4026, allocations: 4.375 kB / 1.265 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.4028, allocations: 42 kB / 1.265 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.4028, allocations: 4 kB / 1.265 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.4028, allocations: 0 / 1.265 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.4028, allocations: 0 / 1.265 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.613e-05/0.4029, allocations: 23.92 kB / 1.265 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004048/0.4033, allocations: 260.8 kB / 1.265 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.49e-05/0.4034, allocations: 30.64 kB / 1.265 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.984e-05/0.4034, allocations: 17.92 kB / 1.265 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008889/0.4043, allocations: 477.4 kB / 1.266 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.4043, allocations: 30.56 kB / 1.266 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.4043, allocations: 0 / 1.266 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002225/0.4046, allocations: 69.56 kB / 1.266 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.4046, allocations: 55.41 kB / 1.266 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.4047, allocations: 109.8 kB / 1.266 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.4047, allocations: 29.83 kB / 1.266 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/0.4048, allocations: 88.14 kB / 1.266 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.4048, allocations: 3.953 kB / 1.266 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.4048, allocations: 13.72 kB / 1.266 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.405, allocations: 318.8 kB / 1.266 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.919e-05/0.405, allocations: 8 kB / 1.266 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.336e-05/0.405, allocations: 11.98 kB / 1.266 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.999e-05/0.4051, allocations: 32.84 kB / 1.266 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4051, allocations: 3.938 kB / 1.266 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001133/0.4052, allocations: 49.69 kB / 1.266 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.4052, allocations: 5.562 kB / 1.266 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/0.4052, allocations: 0 / 1.266 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.4052, allocations: 4 kB / 1.266 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.686e-05/0.4053, allocations: 11.92 kB / 1.266 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.4053, allocations: 0 / 1.266 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.994e-05/0.4053, allocations: 8.031 kB / 1.266 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.4053, allocations: 0 / 1.266 GB, free: 8.113 MB / 0.9825 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 7.909e-05/0.4054, allocations: 114.6 kB / 1.267 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.4054, allocations: 7.938 kB / 1.267 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000172/0.4056, allocations: 69.14 kB / 1.267 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.4056, allocations: 0 / 1.267 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.4056, allocations: 0 / 1.267 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.4057, allocations: 77.11 kB / 1.267 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.207e-06/0.4057, allocations: 4.031 kB / 1.267 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.339e-05/0.4057, allocations: 7.984 kB / 1.267 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-05/0.4058, allocations: 3.938 kB / 1.267 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001585/0.4059, allocations: 129 kB / 1.267 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002021/0.4061, allocations: 234.7 kB / 1.267 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.598e-05/0.4062, allocations: 15.98 kB / 1.267 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.09e-05/0.4062, allocations: 91.27 kB / 1.267 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of Backend: time 4.21e-07/0.4062, allocations: 0 / 1.267 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004202/0.4067, allocations: 98.33 kB / 1.267 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0006386/0.4073, allocations: 0.5774 MB / 1.268 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of Templates: time 0.00356/0.4109, allocations: 0.7892 MB / 1.269 GB, free: 5.797 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches