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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 115.5 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002141/0.002141, allocations: 192.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.766/2.766, allocations: 437.1 MB / 0.7177 GB, free: 4.535 MB / 0.5606 GB " [Timeout remaining time 177] 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=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.002, allocations: 71.88 kB / 1.028 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2996, allocations: 151.6 MB / 1.176 GB, free: 5.906 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002741/0.3024, allocations: 1.459 MB / 1.177 GB, free: 4.426 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.3035, allocations: 0.558 MB / 1.178 GB, free: 3.859 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.347e-05/0.3035, allocations: 0 / 1.178 GB, free: 3.859 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.49e-05/0.3035, allocations: 0 / 1.178 GB, free: 3.859 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.097e-05/0.3036, allocations: 7.922 kB / 1.178 GB, free: 3.852 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.3039, allocations: 47.83 kB / 1.178 GB, free: 3.805 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.892e-05/0.304, allocations: 35.8 kB / 1.178 GB, free: 3.77 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.273e-05/0.3041, allocations: 7.984 kB / 1.178 GB, free: 3.762 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.869e-05/0.3042, allocations: 12 kB / 1.178 GB, free: 3.75 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.012e-05/0.3043, allocations: 15.92 kB / 1.178 GB, free: 3.734 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.3043, allocations: 4 kB / 1.178 GB, free: 3.73 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.3044, allocations: 59.94 kB / 1.178 GB, free: 3.672 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.486e-05/0.3045, allocations: 3.938 kB / 1.178 GB, free: 3.668 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.921e-05/0.3045, allocations: 11.94 kB / 1.178 GB, free: 3.656 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.3047, allocations: 63.73 kB / 1.178 GB, free: 3.594 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3047, allocations: 0 / 1.178 GB, free: 3.594 MB / 0.92 GB Notification: Performance of FrontEnd: time 4.248e-06/0.3047, allocations: 3.984 kB / 1.178 GB, free: 3.59 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.185e-05/0.3047, allocations: 0 / 1.178 GB, free: 3.59 MB / 0.92 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.0005091/0.3052, allocations: 357.5 kB / 1.178 GB, free: 3.195 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.3053, allocations: 8.031 kB / 1.178 GB, free: 3.188 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.3053, allocations: 8.938 kB / 1.178 GB, free: 3.18 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.3055, allocations: 172.3 kB / 1.179 GB, free: 2.973 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.3055, allocations: 4.375 kB / 1.179 GB, free: 2.969 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.3055, allocations: 4.312 kB / 1.179 GB, free: 2.965 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.3057, allocations: 46 kB / 1.179 GB, free: 2.914 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.3057, allocations: 0 / 1.179 GB, free: 2.914 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.108e-06/0.3057, allocations: 0 / 1.179 GB, free: 2.914 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.3057, allocations: 4 kB / 1.179 GB, free: 2.91 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.211e-05/0.3058, allocations: 23.92 kB / 1.179 GB, free: 2.887 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003824/0.3062, allocations: 252.9 kB / 1.179 GB, free: 2.59 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.3063, allocations: 34.5 kB / 1.179 GB, free: 2.547 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.183e-05/0.3064, allocations: 16.92 kB / 1.179 GB, free: 2.527 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008546/0.3072, allocations: 473.4 kB / 1.179 GB, free: 1.973 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.3073, allocations: 38.56 kB / 1.179 GB, free: 1.926 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.3073, allocations: 0 / 1.179 GB, free: 1.926 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002563/0.3076, allocations: 65.62 kB / 1.18 GB, free: 1.855 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.3076, allocations: 55.34 kB / 1.18 GB, free: 1.789 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.3077, allocations: 113.8 kB / 1.18 GB, free: 1.668 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.3077, allocations: 29.7 kB / 1.18 GB, free: 1.633 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.938e-05/0.3078, allocations: 80.14 kB / 1.18 GB, free: 1.551 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.3078, allocations: 3.953 kB / 1.18 GB, free: 1.547 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.3079, allocations: 17.72 kB / 1.18 GB, free: 1.523 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.308, allocations: 315 kB / 1.18 GB, free: 1.207 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.732e-05/0.3081, allocations: 16 kB / 1.18 GB, free: 1.191 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.653e-05/0.3081, allocations: 7.984 kB / 1.18 GB, free: 1.184 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.62e-05/0.3082, allocations: 28.78 kB / 1.18 GB, free: 1.152 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3082, allocations: 0 / 1.18 GB, free: 1.152 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001243/0.3084, allocations: 61.62 kB / 1.18 GB, free: 1.086 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3084, allocations: 4 kB / 1.18 GB, free: 1.082 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3084, allocations: 4.094 kB / 1.18 GB, free: 1.078 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.3084, allocations: 0 / 1.18 GB, free: 1.078 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.292e-05/0.3085, allocations: 7.984 kB / 1.18 GB, free: 1.07 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3085, allocations: 320 / 1.18 GB, free: 1.07 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.488e-05/0.3085, allocations: 4 kB / 1.18 GB, free: 1.066 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.3086, allocations: 0 / 1.18 GB, free: 1.066 MB / 0.92 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.202e-05/0.3086, allocations: 117.7 kB / 1.18 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.3087, allocations: 3.953 kB / 1.18 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001769/0.3089, allocations: 73.19 kB / 1.18 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.3089, allocations: 0 / 1.18 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3089, allocations: 0 / 1.18 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.3089, allocations: 0 / 1.18 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.3091, allocations: 169.5 kB / 1.181 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3091, allocations: 0 / 1.181 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-05/0.3091, allocations: 4 kB / 1.181 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.3091, allocations: 7.922 kB / 1.181 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.3092, allocations: 3.938 kB / 1.181 GB, free: 0.625 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3092, allocations: 4 kB / 1.181 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3092, allocations: 8.016 kB / 1.181 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.3094, allocations: 147.5 kB / 1.181 GB, free: 464 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.502e-05/0.3094, allocations: 81.06 kB / 1.181 GB, free: 364 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.3094, allocations: 7.984 kB / 1.181 GB, free: 356 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.647e-05/0.3095, allocations: 0 / 1.181 GB, free: 356 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.3096, allocations: 0 / 1.181 GB, free: 356 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.3096, allocations: 4.031 kB / 1.181 GB, free: 352 kB / 0.92 GB Notification: Performance of sorting global known variables: time 6.035e-05/0.3096, allocations: 91.27 kB / 1.181 GB, free: 260 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3096, allocations: 0 / 1.181 GB, free: 260 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002345/0.3099, allocations: 15.94 kB / 1.181 GB, free: 244 kB / 0.92 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.0001807/0.3101, allocations: 115.2 kB / 1.181 GB, free: 120 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001462/0.3102, allocations: 23.98 kB / 1.181 GB, free: 96 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.3102, allocations: 0 / 1.181 GB, free: 96 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.377e-05/0.3103, allocations: 16.05 kB / 1.181 GB, free: 80 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.3105, allocations: 9.969 kB / 1.181 GB, free: 72 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003364/0.3108, allocations: 152.2 kB / 1.181 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.3112, allocations: 0.6806 MB / 1.182 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.479e-05/0.3112, allocations: 11.44 kB / 1.182 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.3112, allocations: 0 / 1.182 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of Templates: time 0.002762/0.314, allocations: 0.8141 MB / 1.183 GB, free: 14.36 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (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) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.344472254975699]