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.001329/0.001329, allocations: 107.3 kB / 16.41 MB, free: 6.496 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.001376/0.001376, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.432/2.432, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 71.89 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8633/0.8646, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002694/0.8674, allocations: 1.461 MB / 1.169 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009946/0.8684, allocations: 0.5603 MB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.002e-05/0.8685, allocations: 0 / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.729e-05/0.8685, allocations: 4 kB / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.111e-05/0.8686, allocations: 3.938 kB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.8689, allocations: 55.81 kB / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.807e-05/0.869, allocations: 23.88 kB / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.8691, allocations: 11.98 kB / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.181e-05/0.8692, allocations: 7.938 kB / 1.169 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.836e-05/0.8693, allocations: 19.91 kB / 1.169 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.8693, allocations: 8 kB / 1.169 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.8694, allocations: 47.95 kB / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.963e-05/0.8695, allocations: 15.88 kB / 1.169 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.535e-05/0.8695, allocations: 7.938 kB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.8696, allocations: 67.84 kB / 1.17 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.8697, allocations: 0 / 1.17 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8697, allocations: 0 / 1.17 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.8697, allocations: 0 / 1.17 GB, free: 1.562 MB / 0.8887 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.0004321/0.8701, allocations: 347.3 kB / 1.17 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.8702, allocations: 8.922 kB / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.8702, allocations: 8.844 kB / 1.17 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.8703, allocations: 174.2 kB / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.8703, allocations: 4.312 kB / 1.17 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.8704, allocations: 4.375 kB / 1.17 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.8705, allocations: 53.92 kB / 1.17 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.872e-06/0.8705, allocations: 0 / 1.17 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.8705, allocations: 0 / 1.17 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.8705, allocations: 0 / 1.17 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.53e-05/0.8706, allocations: 19.98 kB / 1.17 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003583/0.871, allocations: 260.8 kB / 1.17 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.533e-05/0.8711, allocations: 38.5 kB / 1.17 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.67e-05/0.8712, allocations: 8.922 kB / 1.17 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008281/0.872, allocations: 481.4 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.872, allocations: 30.56 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.482e-06/0.872, allocations: 0 / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.0002355/0.8723, allocations: 65.67 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.8723, allocations: 51.41 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.793e-05/0.8724, allocations: 110 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.8724, allocations: 25.7 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.8725, allocations: 92.08 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.8725, allocations: 3.906 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.8725, allocations: 13.72 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.8726, allocations: 318.8 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.981e-05/0.8727, allocations: 4 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.172e-05/0.8727, allocations: 23.98 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.826e-05/0.8728, allocations: 28.78 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8728, allocations: 0 / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001202/0.873, allocations: 49.69 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.873, allocations: 8 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.873, allocations: 0 / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.873, allocations: 0 / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.436e-05/0.8731, allocations: 12.02 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.8731, allocations: 4 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.716e-05/0.8731, allocations: 11.84 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.8732, allocations: 3.938 kB / 1.172 GB, free: 15.04 MB / 0.9044 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.049e-05/0.8732, allocations: 113.8 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.8733, allocations: 4 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/0.8734, allocations: 57.2 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.8734, allocations: 3.938 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.8735, allocations: 4.031 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.8735, allocations: 0 / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.8736, allocations: 169.6 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.8736, allocations: 0 / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.431e-05/0.8737, allocations: 7.984 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.8737, allocations: 0 / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.8737, allocations: 0 / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.8737, allocations: 3.938 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.8737, allocations: 0 / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.8739, allocations: 151.5 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.903e-05/0.8739, allocations: 85 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.8739, allocations: 4 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.987e-05/0.874, allocations: 4 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/0.874, allocations: 0 / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.874, allocations: 0 / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.313e-05/0.8741, allocations: 91.27 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.8741, allocations: 0 / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002372/0.8743, allocations: 20.03 kB / 1.172 GB, free: 14.23 MB / 0.9044 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.0001738/0.8745, allocations: 115.2 kB / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001304/0.8747, allocations: 27.92 kB / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.8747, allocations: 0 / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.533e-05/0.8747, allocations: 15.98 kB / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.8749, allocations: 6.328 kB / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00031/0.8752, allocations: 144.4 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.8755, allocations: 0.6807 MB / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.215e-05/0.8755, allocations: 7.438 kB / 1.173 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of SimCode: time 2e-07/0.8755, allocations: 0 / 1.173 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of Templates: time 0.002234/0.8778, allocations: 0.8293 MB / 1.174 GB, free: 12.34 MB / 0.9044 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches