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.001504/0.001504, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001768/0.001768, allocations: 196.7 kB / 16.14 MB, free: 6.633 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.478/1.478, allocations: 222.9 MB / 239.8 MB, free: 4.582 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.944/2.944, allocations: 437 MB / 0.7099 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 63.89 kB / 0.8686 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.647/0.649, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003172/0.6523, allocations: 1.523 MB / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.6534, allocations: 0.5697 MB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.843e-05/0.6534, allocations: 4 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.767e-05/0.6535, allocations: 3.938 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.579e-05/0.6535, allocations: 3.938 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.6538, allocations: 43.89 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.732e-05/0.6538, allocations: 27.86 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.418e-05/0.6539, allocations: 8 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.048e-05/0.654, allocations: 11.98 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.925e-05/0.6541, allocations: 15.92 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.6541, allocations: 3.938 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.6543, allocations: 51.95 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.6543, allocations: 3.938 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.106e-05/0.6543, allocations: 15.92 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.6545, allocations: 59.86 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.6545, allocations: 0 / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6545, allocations: 4 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.6545, allocations: 0 / 1.019 GB, free: 400 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.0005088/0.655, allocations: 349.4 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.878e-05/0.6551, allocations: 12.02 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.6551, allocations: 0.9375 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.6553, allocations: 168.3 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.6553, allocations: 384 / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.6553, allocations: 8.375 kB / 1.019 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.6555, allocations: 46 kB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.6555, allocations: 7.938 kB / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.6555, allocations: 0 / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.6555, allocations: 0 / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.358e-05/0.6556, allocations: 23.92 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/0.656, allocations: 256.9 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.6561, allocations: 38.56 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.857e-05/0.6562, allocations: 8.922 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009848/0.6572, allocations: 477.4 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.6572, allocations: 30.56 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.6572, allocations: 4 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002736/0.6575, allocations: 73.52 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.6576, allocations: 51.41 kB / 1.02 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.781e-05/0.6577, allocations: 105.8 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.6577, allocations: 25.7 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.6578, allocations: 88.14 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.6578, allocations: 3.906 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/0.6579, allocations: 21.83 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.658, allocations: 314.8 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.543e-05/0.6581, allocations: 7.984 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.715e-05/0.6581, allocations: 12 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.754e-05/0.6582, allocations: 36.66 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6582, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001346/0.6584, allocations: 53.75 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.6584, allocations: 8 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.6584, allocations: 0 / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.6584, allocations: 3.984 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.496e-05/0.6585, allocations: 4 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.6585, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.895e-05/0.6585, allocations: 7.938 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.6586, allocations: 0 / 1.021 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 9.404e-05/0.6587, allocations: 121.8 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.6587, allocations: 7.906 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001834/0.6589, allocations: 57.16 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.6589, allocations: 3.984 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.6589, allocations: 0 / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.6589, allocations: 0 / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.6591, allocations: 169.5 kB / 1.021 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.6591, allocations: 0 / 1.021 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.785e-05/0.6592, allocations: 7.984 kB / 1.021 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.6592, allocations: 4.031 kB / 1.021 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.6592, allocations: 3.984 kB / 1.021 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.6592, allocations: 0 / 1.021 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.6592, allocations: 4.312 kB / 1.021 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.6594, allocations: 159.4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.326e-05/0.6595, allocations: 77.11 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.6595, allocations: 0 / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.386e-05/0.6596, allocations: 8.031 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.979e-05/0.6596, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.6596, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.28e-05/0.6597, allocations: 95.25 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6597, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002484/0.6599, allocations: 19.91 kB / 1.022 GB, free: 13.05 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.0001864/0.6601, allocations: 111.8 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001429/0.6603, allocations: 27.98 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.6603, allocations: 0 / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.537e-05/0.6603, allocations: 19.92 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.6606, allocations: 6.469 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002986/0.6609, allocations: 120.4 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.6612, allocations: 0.685 MB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.358e-05/0.6613, allocations: 0 / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.146e-05/0.6613, allocations: 11.44 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.6613, allocations: 3.938 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of Templates: time 0.003136/0.6644, allocations: 0.6352 MB / 1.023 GB, free: 11.38 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=400 -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