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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001083/0.001083, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 199.4 kB / 16.79 MB, free: 6.809 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.403/1.403, allocations: 222.9 MB / 240.5 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.583/2.583, allocations: 437 MB / 0.7106 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 59.91 kB / 0.8692 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6476/0.649, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.00286/0.6519, allocations: 1.531 MB / 1.019 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.653, allocations: 0.5658 MB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.685e-05/0.653, allocations: 0 / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.431e-05/0.6531, allocations: 7.875 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.799e-05/0.6531, allocations: 4 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.6534, allocations: 39.89 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.055e-05/0.6535, allocations: 23.94 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.552e-05/0.6536, allocations: 7.984 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.813e-05/0.6537, allocations: 23.86 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.1e-05/0.6537, allocations: 11.92 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.6537, allocations: 0 / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.6539, allocations: 47.95 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.45e-05/0.6539, allocations: 4 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.364e-05/0.6539, allocations: 7.938 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.654, allocations: 47.94 kB / 1.02 GB, free: 452 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.654, allocations: 0 / 1.02 GB, free: 452 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.484e-06/0.6541, allocations: 4 kB / 1.02 GB, free: 448 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.6541, allocations: 0 / 1.02 GB, free: 448 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.0004322/0.6545, allocations: 353.3 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.6545, allocations: 8.031 kB / 1.02 GB, free: 40 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.6546, allocations: 4.938 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.6547, allocations: 168.3 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.6548, allocations: 4.375 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.6548, allocations: 4.375 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.6549, allocations: 49.98 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.6549, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.655, allocations: 4 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.655, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.67e-05/0.6551, allocations: 19.92 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.6554, allocations: 264.8 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.489e-05/0.6555, allocations: 34.56 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.738e-05/0.6556, allocations: 16.92 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008208/0.6564, allocations: 469.4 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.6564, allocations: 38.56 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 2.434e-06/0.6564, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002444/0.6567, allocations: 69.52 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.6567, allocations: 51.41 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.192e-05/0.6568, allocations: 109.8 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.6568, allocations: 25.7 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.236e-05/0.6569, allocations: 88.27 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.6569, allocations: 3.906 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.657, allocations: 17.72 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.6571, allocations: 314.8 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.412e-05/0.6571, allocations: 8 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.594e-05/0.6572, allocations: 11.98 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.27e-05/0.6573, allocations: 32.72 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.6573, allocations: 4.062 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001264/0.6574, allocations: 53.69 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.6574, allocations: 4 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.6574, allocations: 0 / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.6575, allocations: 0 / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.263e-05/0.6575, allocations: 7.984 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.6576, allocations: 0 / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.589e-05/0.6576, allocations: 15.88 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.6576, allocations: 0 / 1.022 GB, free: 13.91 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.639e-05/0.6577, allocations: 122.3 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.6577, allocations: 3.906 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001753/0.6579, allocations: 65.14 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.6579, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.6579, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.6579, allocations: 4 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.6581, allocations: 161.6 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6581, allocations: 32 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.382e-05/0.6582, allocations: 8 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.6582, allocations: 3.984 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.6582, allocations: 4 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.6582, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.6582, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.6584, allocations: 151.4 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.323e-05/0.6584, allocations: 85.14 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.6584, allocations: 3.984 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.995e-05/0.6585, allocations: 3.938 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.6585, allocations: 0 / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.6586, allocations: 4 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.001e-05/0.6586, allocations: 87.27 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6586, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002387/0.6589, allocations: 19.91 kB / 1.022 GB, free: 13.1 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.0001803/0.659, allocations: 119.2 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000127/0.6592, allocations: 19.98 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.6592, allocations: 0 / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.623e-05/0.6592, allocations: 15.94 kB / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.6595, allocations: 13.89 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003143/0.6598, allocations: 154.2 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.6601, allocations: 0.677 MB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.6601, allocations: 11.44 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of SimCode: time 4.41e-07/0.6601, allocations: 0 / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of Templates: time 0.00242/0.6625, allocations: 0.807 MB / 1.024 GB, free: 11.23 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