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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_10_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.005887/0.005887, allocations: 103.5 kB / 15.74 MB, free: 6.039 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.001115/0.001115, allocations: 198 kB / 16.68 MB, free: 5.965 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.837/2.837, allocations: 437 MB / 0.7105 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 55.91 kB / 1.019 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3503, allocations: 151.6 MB / 1.167 GB, free: 6.918 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002885/0.3532, allocations: 1.461 MB / 1.168 GB, free: 5.441 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.3543, allocations: 0.5579 MB / 1.169 GB, free: 4.875 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.968e-05/0.3544, allocations: 0 / 1.169 GB, free: 4.875 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.138e-05/0.3544, allocations: 0 / 1.169 GB, free: 4.875 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.08e-05/0.3545, allocations: 3.938 kB / 1.169 GB, free: 4.871 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.3548, allocations: 51.81 kB / 1.169 GB, free: 4.82 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.724e-05/0.3549, allocations: 27.92 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.355, allocations: 15.92 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.304e-05/0.3551, allocations: 19.91 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.536e-05/0.3552, allocations: 7.938 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.3552, allocations: 4 kB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.3553, allocations: 51.95 kB / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.3554, allocations: 8 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.3554, allocations: 15.86 kB / 1.169 GB, free: 4.672 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.3555, allocations: 63.8 kB / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3556, allocations: 4 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3556, allocations: 0 / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3556, allocations: 0 / 1.169 GB, free: 4.605 MB / 0.92 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.0004648/0.356, allocations: 355.2 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.3561, allocations: 8.031 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.3561, allocations: 0.9375 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.3563, allocations: 176.3 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.3563, allocations: 384 / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.3563, allocations: 12.31 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.3564, allocations: 50 kB / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.3565, allocations: 0 / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.3565, allocations: 0 / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.3565, allocations: 3.938 kB / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.811e-05/0.3566, allocations: 23.97 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003294/0.3569, allocations: 248.9 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.861e-05/0.357, allocations: 42.5 kB / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.42e-05/0.3571, allocations: 8.922 kB / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007596/0.3578, allocations: 477.4 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.3579, allocations: 34.56 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3579, allocations: 0 / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.00034/0.3582, allocations: 69.62 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.3583, allocations: 55.34 kB / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.107e-05/0.3584, allocations: 109.8 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001628/0.3585, allocations: 25.7 kB / 1.17 GB, free: 2.652 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/0.3586, allocations: 88.14 kB / 1.171 GB, free: 2.562 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.3586, allocations: 8.078 kB / 1.171 GB, free: 2.555 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.3586, allocations: 17.7 kB / 1.171 GB, free: 2.531 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3588, allocations: 314.8 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.202e-05/0.3588, allocations: 7.984 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.442e-05/0.3589, allocations: 12 kB / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.359, allocations: 28.78 kB / 1.171 GB, free: 2.164 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.359, allocations: 4.062 kB / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001094/0.3591, allocations: 49.69 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.3591, allocations: 8 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.3591, allocations: 3.984 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3592, allocations: 3.938 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.136e-05/0.3592, allocations: 4 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3593, allocations: 0 / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.204e-05/0.3593, allocations: 4 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.3593, allocations: 0 / 1.171 GB, free: 2.082 MB / 0.92 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.915e-05/0.3594, allocations: 121.8 kB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.3594, allocations: 7.953 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001739/0.3596, allocations: 57.2 kB / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3596, allocations: 0 / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3596, allocations: 0 / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3596, allocations: 0 / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.3598, allocations: 165.6 kB / 1.171 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3598, allocations: 0 / 1.171 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.644e-05/0.3599, allocations: 15.95 kB / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3599, allocations: 0 / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.3599, allocations: 0 / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3599, allocations: 0 / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3599, allocations: 4 kB / 1.171 GB, free: 1.648 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.3601, allocations: 155.5 kB / 1.172 GB, free: 1.48 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.554e-05/0.3602, allocations: 88.94 kB / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.3602, allocations: 4.031 kB / 1.172 GB, free: 1.371 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.53e-05/0.3603, allocations: 4 kB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.3603, allocations: 3.938 kB / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.3603, allocations: 3.984 kB / 1.172 GB, free: 1.359 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.322e-05/0.3604, allocations: 91.27 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3604, allocations: 0 / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002492/0.3607, allocations: 12 kB / 1.172 GB, free: 1.258 MB / 0.92 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.0002123/0.3609, allocations: 115.2 kB / 1.172 GB, free: 1.137 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001462/0.361, allocations: 31.92 kB / 1.172 GB, free: 1.105 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3611, allocations: 0 / 1.172 GB, free: 1.105 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.807e-05/0.3611, allocations: 15.98 kB / 1.172 GB, free: 1.09 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.3613, allocations: 3.938 kB / 1.172 GB, free: 1.086 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003083/0.3616, allocations: 118.5 kB / 1.172 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.362, allocations: 0.6808 MB / 1.173 GB, free: 244 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.454e-05/0.362, allocations: 4 kB / 1.173 GB, free: 240 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.226e-05/0.3621, allocations: 11.44 kB / 1.173 GB, free: 228 kB / 0.92 GB Notification: Performance of SimCode: time 3.51e-07/0.3621, allocations: 3.938 kB / 1.173 GB, free: 224 kB / 0.92 GB Notification: Performance of Templates: time 0.003633/0.3657, allocations: 0.6805 MB / 1.173 GB, free: 15.54 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) 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) Reference file matches