Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001964/0.001964, allocations: 173.2 kB / 22.76 MB, free: 1.66 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.532/1.532, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.384/3.384, allocations: 429.4 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.8775 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.588e-05, allocations: 7.125 kB / 0.8775 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002619/0.002645, allocations: 1.495 MB / 0.8789 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.003773, allocations: 0.5853 MB / 0.8795 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.381e-05/0.003826, allocations: 1.031 kB / 0.8795 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.949e-05/0.003856, allocations: 7.938 kB / 0.8795 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.182e-05/0.003918, allocations: 9.047 kB / 0.8795 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.004244, allocations: 55.75 kB / 0.8796 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.004362, allocations: 33.77 kB / 0.8796 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.645e-05/0.004448, allocations: 7.984 kB / 0.8796 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.004612, allocations: 27.91 kB / 0.8796 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.741e-05/0.004659, allocations: 7.938 kB / 0.8796 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.004679, allocations: 6.625 kB / 0.8796 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.004821, allocations: 55.89 kB / 0.8797 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.004833, allocations: 0 / 0.8797 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.69e-05/0.00487, allocations: 19.91 kB / 0.8797 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.005074, allocations: 71.84 kB / 0.8798 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.005076, allocations: 0 / 0.8798 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.41e-07/0.005077, allocations: 0 / 0.8798 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.005082, allocations: 0 / 0.8798 GB, free: 4.281 MB / 0.8386 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.000646/0.005728, allocations: 384.7 kB / 0.8801 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.005769, allocations: 9.688 kB / 0.8802 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008506/0.01428, allocations: 1.136 MB / 0.8813 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.01457, allocations: 152.5 kB / 0.8814 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.01458, allocations: 4.375 kB / 0.8814 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.418e-05/0.01461, allocations: 4.375 kB / 0.8814 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00235/0.01696, allocations: 0.5017 MB / 0.8819 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.01697, allocations: 192 / 0.8819 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/0.017, allocations: 384 / 0.8819 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.01701, allocations: 3.938 kB / 0.8819 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00422/0.02123, allocations: 0.8236 MB / 0.8827 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003509/0.02474, allocations: 0.9074 MB / 0.8836 GB, free: 268 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004343/0.02908, allocations: 0.8618 MB / 0.8844 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002151/0.03123, allocations: 427.5 kB / 0.8849 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.03126, allocations: 8 kB / 0.8849 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.0313, allocations: 37.33 kB / 0.8849 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.753e-06/0.0313, allocations: 0 / 0.8849 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.006298/0.0376, allocations: 1.212 MB / 0.8861 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.03765, allocations: 51.41 kB / 0.8861 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.03784, allocations: 181.9 kB / 0.8863 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/0.03788, allocations: 25.7 kB / 0.8863 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.608e-05/0.03797, allocations: 134.9 kB / 0.8865 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.03801, allocations: 7.891 kB / 0.8865 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.03814, allocations: 27.34 kB / 0.8865 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002569/0.03839, allocations: 0.4962 MB / 0.887 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002103/0.0405, allocations: 419.7 kB / 0.8874 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002061/0.04256, allocations: 427.7 kB / 0.8878 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00375/0.04631, allocations: 0.6711 MB / 0.8884 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.04631, allocations: 0 / 0.8884 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.004119/0.05043, allocations: 0.7939 MB / 0.8892 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.05045, allocations: 7.938 kB / 0.8892 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.05046, allocations: 3.984 kB / 0.8892 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.05047, allocations: 0 / 0.8892 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.05184, allocations: 187.8 kB / 0.8894 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.05185, allocations: 3.984 kB / 0.8894 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.05311, allocations: 175.8 kB / 0.8896 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.135e-05/0.05315, allocations: 7.984 kB / 0.8896 GB, free: 10.03 MB / 0.8542 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 0.0001683/0.05332, allocations: 156.6 kB / 0.8897 GB, free: 9.867 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.194e-05/0.0534, allocations: 7.922 kB / 0.8897 GB, free: 9.859 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.95e-05/0.05347, allocations: 15.62 kB / 0.8898 GB, free: 9.848 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.05348, allocations: 0 / 0.8898 GB, free: 9.848 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.05348, allocations: 4 kB / 0.8898 GB, free: 9.844 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.05348, allocations: 0 / 0.8898 GB, free: 9.844 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004295/0.05391, allocations: 257.6 kB / 0.89 GB, free: 9.559 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.05391, allocations: 0 / 0.89 GB, free: 9.559 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001353/0.05527, allocations: 187.8 kB / 0.8902 GB, free: 9.375 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.05527, allocations: 7.938 kB / 0.8902 GB, free: 9.367 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.951e-05/0.05531, allocations: 7.922 kB / 0.8902 GB, free: 9.359 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.05531, allocations: 0 / 0.8902 GB, free: 9.359 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.05531, allocations: 4 kB / 0.8902 GB, free: 9.355 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004245/0.05956, allocations: 0.9446 MB / 0.8911 GB, free: 8.391 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.966e-05/0.05958, allocations: 0 / 0.8911 GB, free: 8.391 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.784e-05/0.05964, allocations: 11.94 kB / 0.8911 GB, free: 8.379 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.0609, allocations: 167.9 kB / 0.8913 GB, free: 8.215 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.06094, allocations: 3.984 kB / 0.8913 GB, free: 8.211 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.672e-05/0.06098, allocations: 7.984 kB / 0.8913 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.644e-05/0.06108, allocations: 135.2 kB / 0.8914 GB, free: 8.07 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.06108, allocations: 0 / 0.8914 GB, free: 8.07 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003105/0.06139, allocations: 44 kB / 0.8915 GB, free: 8.027 MB / 0.8542 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.0001609/0.06155, allocations: 95.19 kB / 0.8916 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004311/0.06586, allocations: 0.8389 MB / 0.8924 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.06586, allocations: 4 kB / 0.8924 GB, free: 7.074 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002131/0.06799, allocations: 443.4 kB / 0.8928 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.06827, allocations: 22.31 kB / 0.8928 GB, free: 6.617 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/0.07071, allocations: 0.5526 MB / 0.8934 GB, free: 6.035 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.503e-05/0.07078, allocations: 71.28 kB / 0.8934 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000279/0.07106, allocations: 31.94 kB / 0.8935 GB, free: 5.914 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/0.07125, allocations: 24.47 kB / 0.8935 GB, free: 5.891 MB / 0.8542 GB Notification: Performance of SimCode: time 9.42e-07/0.07125, allocations: 0 / 0.8935 GB, free: 5.891 MB / 0.8542 GB Notification: Performance of Templates: time 0.006483/0.07774, allocations: 2.734 MB / 0.8962 GB, free: 3.148 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.498110420070589]