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.001827/0.001827, allocations: 92.7 kB / 19.44 MB, free: 320 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.002375/0.002375, allocations: 165.3 kB / 22.76 MB, free: 1.648 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.528/1.528, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.238/3.238, allocations: 429.6 MB / 0.673 GB, free: 3.883 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 2.194e-06/2.194e-06, allocations: 0 / 0.8776 GB, free: 5.324 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.896e-05/3.116e-05, allocations: 3.188 kB / 0.8776 GB, free: 5.32 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003058/0.003089, allocations: 1.481 MB / 0.879 GB, free: 3.855 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.004354, allocations: 0.5924 MB / 0.8796 GB, free: 3.266 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.466e-05/0.004408, allocations: 1.094 kB / 0.8796 GB, free: 3.266 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.701e-05/0.004435, allocations: 0 / 0.8796 GB, free: 3.266 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.495e-05/0.00449, allocations: 4.688 kB / 0.8796 GB, free: 3.262 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.004834, allocations: 68.73 kB / 0.8797 GB, free: 3.195 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.004959, allocations: 27.92 kB / 0.8797 GB, free: 3.168 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.332e-05/0.005033, allocations: 0 / 0.8797 GB, free: 3.168 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.00518, allocations: 25.86 kB / 0.8797 GB, free: 3.145 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.372e-05/0.005233, allocations: 15.97 kB / 0.8797 GB, free: 3.129 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.005247, allocations: 0 / 0.8797 GB, free: 3.129 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.005387, allocations: 55.89 kB / 0.8798 GB, free: 3.074 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.005403, allocations: 11.88 kB / 0.8798 GB, free: 3.062 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.013e-05/0.005433, allocations: 13.33 kB / 0.8798 GB, free: 3.051 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.005618, allocations: 75.78 kB / 0.8799 GB, free: 2.977 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.005621, allocations: 0 / 0.8799 GB, free: 2.977 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.152e-06/0.005622, allocations: 0 / 0.8799 GB, free: 2.977 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.005632, allocations: 4.812 kB / 0.8799 GB, free: 2.973 MB / 0.7917 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.0004867/0.006118, allocations: 278.7 kB / 0.8802 GB, free: 2.672 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.006162, allocations: 12.03 kB / 0.8802 GB, free: 2.66 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0178/0.02396, allocations: 2.432 MB / 0.8826 GB, free: 252 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005051/0.02447, allocations: 153.7 kB / 0.8827 GB, free: 72 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.02448, allocations: 384 / 0.8827 GB, free: 72 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.608e-05/0.02453, allocations: 4.375 kB / 0.8827 GB, free: 68 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00609/0.03062, allocations: 1.013 MB / 0.8837 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.03063, allocations: 4.188 kB / 0.8837 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.961e-05/0.03067, allocations: 4.375 kB / 0.8837 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.03068, allocations: 3.938 kB / 0.8837 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01136/0.04204, allocations: 1.865 MB / 0.8855 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007164/0.0492, allocations: 1.388 MB / 0.8869 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01131/0.06051, allocations: 1.868 MB / 0.8887 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005698/0.06621, allocations: 0.9412 MB / 0.8896 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/0.06624, allocations: 4 kB / 0.8896 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.06628, allocations: 34.5 kB / 0.8897 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.974e-06/0.06629, allocations: 3.938 kB / 0.8897 GB, free: 8.867 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.01686/0.08315, allocations: 2.753 MB / 0.8924 GB, free: 6.105 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.08321, allocations: 51.41 kB / 0.8924 GB, free: 6.043 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.08335, allocations: 113.8 kB / 0.8925 GB, free: 5.922 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.082e-05/0.08341, allocations: 25.7 kB / 0.8925 GB, free: 5.891 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.306e-05/0.08347, allocations: 88.08 kB / 0.8926 GB, free: 5.801 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.658e-05/0.08353, allocations: 7.953 kB / 0.8926 GB, free: 5.793 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.08366, allocations: 29.67 kB / 0.8927 GB, free: 5.758 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.08384, allocations: 310.8 kB / 0.893 GB, free: 5.445 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005867/0.08971, allocations: 0.9326 MB / 0.8939 GB, free: 4.512 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005858/0.09556, allocations: 0.9287 MB / 0.8948 GB, free: 3.582 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01101/0.1066, allocations: 1.683 MB / 0.8964 GB, free: 1.895 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1066, allocations: 0 / 0.8964 GB, free: 1.895 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0113/0.1179, allocations: 1.812 MB / 0.8982 GB, free: 76 kB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.1179, allocations: 7.938 kB / 0.8982 GB, free: 68 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.1179, allocations: 0 / 0.8982 GB, free: 68 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.1179, allocations: 4.031 kB / 0.8982 GB, free: 64 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00327/0.1212, allocations: 471.4 kB / 0.8986 GB, free: 15.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.1212, allocations: 0 / 0.8986 GB, free: 15.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003142/0.1243, allocations: 459.4 kB / 0.8991 GB, free: 15.15 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.947e-05/0.1244, allocations: 7.984 kB / 0.8991 GB, free: 15.14 MB / 0.823 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.0001561/0.1246, allocations: 109.8 kB / 0.8992 GB, free: 15.03 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.315e-05/0.1246, allocations: 3.938 kB / 0.8992 GB, free: 15.02 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.432e-05/0.1247, allocations: 15.62 kB / 0.8992 GB, free: 15.01 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1247, allocations: 0 / 0.8992 GB, free: 15.01 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1247, allocations: 0 / 0.8992 GB, free: 15.01 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1247, allocations: 0 / 0.8992 GB, free: 15.01 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004262/0.1252, allocations: 250.2 kB / 0.8995 GB, free: 14.73 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1252, allocations: 4 kB / 0.8995 GB, free: 14.73 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003329/0.1285, allocations: 463.5 kB / 0.8999 GB, free: 14.28 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1285, allocations: 0 / 0.8999 GB, free: 14.28 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.789e-05/0.1285, allocations: 7.922 kB / 0.8999 GB, free: 14.27 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.1285, allocations: 0 / 0.8999 GB, free: 14.27 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1285, allocations: 0 / 0.8999 GB, free: 14.27 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01149/0.14, allocations: 1.923 MB / 0.9018 GB, free: 12.33 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.022e-05/0.14, allocations: 0 / 0.9018 GB, free: 12.33 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.737e-05/0.1401, allocations: 7.938 kB / 0.9018 GB, free: 12.32 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003092/0.1432, allocations: 455.5 kB / 0.9022 GB, free: 11.88 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.1432, allocations: 0 / 0.9022 GB, free: 11.88 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.075e-05/0.1433, allocations: 7.984 kB / 0.9022 GB, free: 11.87 MB / 0.823 GB Notification: Performance of sorting global known variables: time 8.038e-05/0.1434, allocations: 87.27 kB / 0.9023 GB, free: 11.78 MB / 0.823 GB Notification: Performance of sort global known variables: time 1e-07/0.1434, allocations: 4 kB / 0.9023 GB, free: 11.78 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000335/0.1437, allocations: 32 kB / 0.9024 GB, free: 11.75 MB / 0.823 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.0001674/0.1439, allocations: 99.25 kB / 0.9024 GB, free: 11.64 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01158/0.1554, allocations: 1.865 MB / 0.9043 GB, free: 9.773 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1554, allocations: 0 / 0.9043 GB, free: 9.773 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.005535/0.161, allocations: 0.9443 MB / 0.9052 GB, free: 8.828 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.1613, allocations: 26.31 kB / 0.9052 GB, free: 8.805 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005948/0.1673, allocations: 1.039 MB / 0.9062 GB, free: 7.738 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.608e-05/0.1673, allocations: 67.2 kB / 0.9063 GB, free: 7.652 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0003046/0.1676, allocations: 36 kB / 0.9063 GB, free: 7.617 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.1678, allocations: 24.47 kB / 0.9064 GB, free: 7.594 MB / 0.823 GB Notification: Performance of SimCode: time 1.012e-06/0.1678, allocations: 0 / 0.9064 GB, free: 7.594 MB / 0.823 GB Notification: Performance of Templates: time 0.006436/0.1743, allocations: 2.704 MB / 0.909 GB, free: 4.879 MB / 0.823 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 800] 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.187268984038383]