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.001428/0.001428, allocations: 105 kB / 15.98 MB, free: 6.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.001257/0.001257, allocations: 194.2 kB / 16.91 MB, free: 6.551 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.374/1.374, allocations: 222.9 MB / 240.6 MB, free: 4.523 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.569/2.569, allocations: 437 MB / 0.7107 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 63.91 kB / 0.8694 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6626/0.6644, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002758/0.6672, allocations: 1.527 MB / 1.019 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008884/0.6681, allocations: 0.5541 MB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.626e-05/0.6682, allocations: 3.938 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.375e-05/0.6682, allocations: 0 / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.729e-05/0.6683, allocations: 3.938 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.6685, allocations: 39.95 kB / 1.02 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.887e-05/0.6686, allocations: 39.8 kB / 1.02 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.005e-05/0.6687, allocations: 4 kB / 1.02 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.996e-05/0.6688, allocations: 19.94 kB / 1.02 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.288e-05/0.6689, allocations: 15.97 kB / 1.02 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.6689, allocations: 0 / 1.02 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.669, allocations: 55.89 kB / 1.02 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.669, allocations: 0 / 1.02 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.462e-05/0.6691, allocations: 11.94 kB / 1.02 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.6692, allocations: 47.92 kB / 1.02 GB, free: 420 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.6692, allocations: 4 kB / 1.02 GB, free: 416 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6692, allocations: 0 / 1.02 GB, free: 416 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.6692, allocations: 0 / 1.02 GB, free: 416 kB / 0.7637 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.0004127/0.6696, allocations: 353.3 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.6697, allocations: 8.031 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.6697, allocations: 4.875 kB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.6698, allocations: 172.3 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.6699, allocations: 384 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.6699, allocations: 4.375 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.67, allocations: 53.89 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.67, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.67, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.67, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.703e-05/0.6701, allocations: 19.98 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003227/0.6705, allocations: 256.9 kB / 1.021 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.223e-05/0.6706, allocations: 46.44 kB / 1.021 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.267e-05/0.6706, allocations: 8.922 kB / 1.021 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000781/0.6714, allocations: 481.4 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.6714, allocations: 34.56 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.6715, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002364/0.6717, allocations: 69.58 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.6717, allocations: 51.41 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.374e-05/0.6718, allocations: 105.8 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.6718, allocations: 25.7 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.478e-05/0.6719, allocations: 88.27 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.6719, allocations: 7.906 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.6719, allocations: 21.64 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.6721, allocations: 314.8 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.09e-05/0.6721, allocations: 4 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.557e-05/0.6721, allocations: 15.98 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.29e-05/0.6722, allocations: 28.78 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.6722, allocations: 4.062 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001072/0.6723, allocations: 49.69 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.6724, allocations: 8 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.6724, allocations: 0 / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.6724, allocations: 0 / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.753e-05/0.6725, allocations: 7.984 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.6725, allocations: 3.938 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.104e-05/0.6725, allocations: 3.938 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.6725, allocations: 4 kB / 1.022 GB, free: 13.88 MB / 0.7794 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.48e-05/0.6726, allocations: 118.3 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.6726, allocations: 7.938 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.6728, allocations: 61.19 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.6728, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.6728, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.6728, allocations: 3.984 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.673, allocations: 169.5 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.673, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.183e-05/0.6731, allocations: 12.02 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.6731, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.6731, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.6731, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.6731, allocations: 3.938 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.6732, allocations: 151.5 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.357e-05/0.6733, allocations: 81.09 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.6733, allocations: 4.031 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.152e-05/0.6734, allocations: 8 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.6734, allocations: 3.938 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.6734, allocations: 0 / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.008e-05/0.6735, allocations: 91.58 kB / 1.023 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6735, allocations: 0 / 1.023 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002276/0.6737, allocations: 12 kB / 1.023 GB, free: 13.07 MB / 0.7794 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.0001667/0.6739, allocations: 115.2 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001289/0.674, allocations: 31.92 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.674, allocations: 0 / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.689e-05/0.6741, allocations: 15.98 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.6743, allocations: 5.344 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003009/0.6746, allocations: 152.5 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.6748, allocations: 0.6807 MB / 1.024 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.489e-05/0.6749, allocations: 11.44 kB / 1.024 GB, free: 12 MB / 0.7794 GB Notification: Performance of SimCode: time 1.663e-06/0.6749, allocations: 0 / 1.024 GB, free: 12 MB / 0.7794 GB Notification: Performance of Templates: time 0.002072/0.6769, allocations: 0.8223 MB / 1.024 GB, free: 11.18 MB / 0.7794 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