Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_9_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.001513/0.001514, allocations: 107.5 kB / 16.41 MB, free: 6.508 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.00165/0.00165, allocations: 187 kB / 17.34 MB, free: 5.742 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.448/1.448, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.361/2.361, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 67.89 kB / 0.9515 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9528/0.9542, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002509/0.9567, allocations: 1.449 MB / 1.09 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009307/0.9577, allocations: 0.5709 MB / 1.091 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.107e-05/0.9577, allocations: 0.9688 kB / 1.091 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.558e-05/0.9578, allocations: 7.938 kB / 1.091 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.1e-05/0.9578, allocations: 5.953 kB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.9581, allocations: 52.17 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.907e-05/0.9582, allocations: 25.38 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.54e-05/0.9583, allocations: 5.938 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.732e-05/0.9584, allocations: 19.39 kB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.962e-05/0.9585, allocations: 14.95 kB / 1.091 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.9585, allocations: 6.156 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.9586, allocations: 53.42 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.9587, allocations: 2.422 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.568e-05/0.9587, allocations: 12.52 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.9588, allocations: 69.25 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.9589, allocations: 0.9375 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9589, allocations: 0 / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.9589, allocations: 0 / 1.091 GB, free: 3.973 MB / 0.8575 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.0003812/0.9593, allocations: 353 kB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.9593, allocations: 8.844 kB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.9594, allocations: 15.59 kB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.777e-05/0.9594, allocations: 165.5 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.9595, allocations: 1.719 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.9595, allocations: 1.719 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.9596, allocations: 47.36 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/0.9596, allocations: 0.7031 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.9596, allocations: 0 / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.9596, allocations: 1 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.814e-05/0.9597, allocations: 18.92 kB / 1.091 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003/0.96, allocations: 259 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.159e-05/0.9601, allocations: 29.53 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.247e-05/0.9602, allocations: 17.7 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007259/0.9609, allocations: 475.7 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.961, allocations: 36.16 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.961, allocations: 0 / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002444/0.9612, allocations: 69.86 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.9612, allocations: 53.3 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.136e-05/0.9613, allocations: 110.7 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.9613, allocations: 29.7 kB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.205e-05/0.9614, allocations: 83.58 kB / 1.093 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.9614, allocations: 5.516 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.9614, allocations: 16.94 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.87e-05/0.9615, allocations: 318.2 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.19e-05/0.9615, allocations: 14.69 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.678e-05/0.9616, allocations: 12.67 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.581e-05/0.9617, allocations: 28.16 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.9617, allocations: 4 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001074/0.9618, allocations: 60.38 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.9618, allocations: 6.281 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.9618, allocations: 0 / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.9618, allocations: 0 / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.081e-05/0.9619, allocations: 10.94 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.9619, allocations: 0.8125 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.195e-05/0.962, allocations: 6.922 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.962, allocations: 1.859 kB / 1.093 GB, free: 1.766 MB / 0.8575 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 5.278e-05/0.962, allocations: 110.9 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.9621, allocations: 6.578 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.9622, allocations: 64.95 kB / 1.093 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.9622, allocations: 0.75 kB / 1.093 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.9622, allocations: 4.688 kB / 1.093 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.9622, allocations: 0.7812 kB / 1.093 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.9624, allocations: 162.2 kB / 1.093 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.9624, allocations: 0.75 kB / 1.093 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.178e-05/0.9624, allocations: 6.641 kB / 1.093 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.9624, allocations: 0.7188 kB / 1.093 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.9624, allocations: 0 / 1.093 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.9624, allocations: 1.25 kB / 1.093 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.9625, allocations: 0.8125 kB / 1.093 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.9626, allocations: 155.6 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.018e-05/0.9626, allocations: 82.83 kB / 1.094 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.9626, allocations: 1.188 kB / 1.094 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.022e-05/0.9627, allocations: 2.469 kB / 1.094 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.9627, allocations: 6.328 kB / 1.094 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.9627, allocations: 1.734 kB / 1.094 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.108e-05/0.9628, allocations: 87.12 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9628, allocations: 4.812 kB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002678/0.9631, allocations: 12.81 kB / 1.094 GB, free: 1.066 MB / 0.8575 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.0001574/0.9632, allocations: 122.8 kB / 1.094 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000138/0.9634, allocations: 22.92 kB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.9634, allocations: 0 / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.613e-05/0.9634, allocations: 11.52 kB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.9636, allocations: 9.031 kB / 1.094 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002722/0.9639, allocations: 153 kB / 1.094 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/0.9641, allocations: 0.679 MB / 1.095 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.225e-05/0.9642, allocations: 13.3 kB / 1.095 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.9642, allocations: 0 / 1.095 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of Templates: time 0.002573/0.9667, allocations: 0.8079 MB / 1.095 GB, free: 16.03 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches