Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008448/0.0008448, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000852/0.000852, allocations: 173.9 kB / 23.21 MB, free: 1.355 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 0.9094/0.9094, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.719/1.719, allocations: 377.9 MB / 0.6229 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.9822 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.503e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001864/0.001889, allocations: 1.478 MB / 0.9836 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007459/0.002635, allocations: 0.5843 MB / 0.9842 GB, free: 15.99 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.044e-05/0.002686, allocations: 0 / 0.9842 GB, free: 15.99 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 2.574e-05/0.002712, allocations: 3.938 kB / 0.9842 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 4.242e-05/0.002754, allocations: 7.922 kB / 0.9842 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.003031, allocations: 63.69 kB / 0.9843 GB, free: 15.92 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.003132, allocations: 31.86 kB / 0.9843 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.2e-05/0.003224, allocations: 4 kB / 0.9843 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.003339, allocations: 27.91 kB / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.499e-05/0.003384, allocations: 15.92 kB / 0.9844 GB, free: 15.84 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.0034, allocations: 0 / 0.9844 GB, free: 15.84 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.003504, allocations: 55.89 kB / 0.9844 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.2e-05/0.003516, allocations: 4 kB / 0.9844 GB, free: 15.78 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 1.958e-05/0.003536, allocations: 7.984 kB / 0.9844 GB, free: 15.77 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.00368, allocations: 79.78 kB / 0.9845 GB, free: 15.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.003683, allocations: 0 / 0.9845 GB, free: 15.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 7.42e-07/0.003683, allocations: 0 / 0.9845 GB, free: 15.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.003687, allocations: 4 kB / 0.9845 GB, free: 15.69 MB / 0.948 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.0003832/0.00407, allocations: 282 kB / 0.9848 GB, free: 15.39 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.004113, allocations: 8.031 kB / 0.9848 GB, free: 15.38 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.004225, allocations: 16.88 kB / 0.9848 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.004389, allocations: 113.8 kB / 0.9849 GB, free: 15.23 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.004399, allocations: 384 / 0.9849 GB, free: 15.23 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.00441, allocations: 4.375 kB / 0.9849 GB, free: 15.22 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.004525, allocations: 50.19 kB / 0.985 GB, free: 15.17 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.004534, allocations: 192 / 0.985 GB, free: 15.17 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.004544, allocations: 8.312 kB / 0.985 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.004552, allocations: 3.938 kB / 0.985 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.866e-05/0.004611, allocations: 19.98 kB / 0.985 GB, free: 15.14 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002815/0.004893, allocations: 208.6 kB / 0.9852 GB, free: 14.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.488e-05/0.004967, allocations: 34.5 kB / 0.9852 GB, free: 14.86 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.161e-05/0.004999, allocations: 16.86 kB / 0.9852 GB, free: 14.84 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003273/0.005326, allocations: 99.86 kB / 0.9853 GB, free: 14.74 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.005349, allocations: 34.5 kB / 0.9854 GB, free: 14.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.00535, allocations: 3.984 kB / 0.9854 GB, free: 14.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001844/0.005535, allocations: 65.67 kB / 0.9854 GB, free: 14.62 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.005568, allocations: 51.41 kB / 0.9855 GB, free: 14.56 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.074e-05/0.005638, allocations: 109.8 kB / 0.9856 GB, free: 14.45 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.005651, allocations: 33.77 kB / 0.9856 GB, free: 14.41 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/0.00569, allocations: 84.14 kB / 0.9857 GB, free: 14.32 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.00571, allocations: 11.95 kB / 0.9857 GB, free: 14.31 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.005736, allocations: 13.7 kB / 0.9857 GB, free: 14.29 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.989e-05/0.005836, allocations: 314.8 kB / 0.986 GB, free: 13.97 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.384e-05/0.00586, allocations: 8 kB / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.051e-05/0.00588, allocations: 11.98 kB / 0.986 GB, free: 13.95 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.97e-05/0.00593, allocations: 24.84 kB / 0.9861 GB, free: 13.93 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.005933, allocations: 0 / 0.9861 GB, free: 13.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.531e-05/0.006008, allocations: 61.7 kB / 0.9861 GB, free: 13.86 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.006023, allocations: 11.06 kB / 0.9861 GB, free: 13.85 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.006027, allocations: 0 / 0.9861 GB, free: 13.85 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.00604, allocations: 4 kB / 0.9861 GB, free: 13.85 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.069e-05/0.006101, allocations: 11.92 kB / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.006107, allocations: 0 / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.481e-05/0.006122, allocations: 0 / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.006129, allocations: 4 kB / 0.9862 GB, free: 13.83 MB / 0.948 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 6.365e-05/0.006192, allocations: 105.8 kB / 0.9863 GB, free: 13.72 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.006206, allocations: 11.97 kB / 0.9863 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.006342, allocations: 61.3 kB / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.006345, allocations: 384 / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.00635, allocations: 0 / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.006356, allocations: 3.984 kB / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.905e-05/0.006455, allocations: 109.3 kB / 0.9864 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.006456, allocations: 3.938 kB / 0.9864 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.707e-05/0.006473, allocations: 7.984 kB / 0.9864 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.006475, allocations: 0 / 0.9864 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.006483, allocations: 7.969 kB / 0.9864 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.006484, allocations: 3.938 kB / 0.9865 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.006486, allocations: 3.938 kB / 0.9865 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.841e-05/0.006584, allocations: 155.5 kB / 0.9866 GB, free: 13.31 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.092e-06/0.00659, allocations: 4 kB / 0.9866 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.006604, allocations: 3.938 kB / 0.9866 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.882e-05/0.006633, allocations: 4 kB / 0.9866 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.00667, allocations: 7.984 kB / 0.9866 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.006672, allocations: 0 / 0.9866 GB, free: 13.29 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.338e-05/0.006706, allocations: 87.28 kB / 0.9867 GB, free: 13.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006706, allocations: 4.031 kB / 0.9867 GB, free: 13.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001562/0.006862, allocations: 15.98 kB / 0.9867 GB, free: 13.18 MB / 0.948 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.0001606/0.007023, allocations: 107.2 kB / 0.9868 GB, free: 13.07 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001257/0.007148, allocations: 23.92 kB / 0.9869 GB, free: 13.04 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.00715, allocations: 0 / 0.9869 GB, free: 13.04 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.06e-05/0.007181, allocations: 15.98 kB / 0.9869 GB, free: 13.03 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.007407, allocations: 7.938 kB / 0.9869 GB, free: 13.02 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003644/0.007772, allocations: 150.7 kB / 0.987 GB, free: 12.84 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.502e-05/0.007837, allocations: 63.34 kB / 0.9871 GB, free: 12.76 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.007867, allocations: 16.48 kB / 0.9871 GB, free: 12.74 MB / 0.948 GB Notification: Performance of SimCode: time 5.71e-07/0.007868, allocations: 0 / 0.9871 GB, free: 12.74 MB / 0.948 GB Notification: Performance of Templates: time 0.002648/0.01052, allocations: 0.863 MB / 0.9879 GB, free: 11.88 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.685364585369825]