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.001866/0.001866, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002288/0.002288, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.498/1.498, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 2.86/2.86, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 177] 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.502e-06/1.502e-06, allocations: 0 / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.669e-05/2.819e-05, allocations: 3.312 kB / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003011/0.003039, allocations: 1.482 MB / 0.8123 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.004216, allocations: 0.5823 MB / 0.8128 GB, free: 20 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.404e-05/0.00427, allocations: 0 / 0.8128 GB, free: 20 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.107e-05/0.004301, allocations: 3.938 kB / 0.8128 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.077e-05/0.004352, allocations: 12.41 kB / 0.8128 GB, free: 4 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.004682, allocations: 60.7 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.004792, allocations: 32.92 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.798e-05/0.00487, allocations: 4 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.005004, allocations: 23.97 kB / 0.813 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.21e-05/0.005056, allocations: 8.812 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.005079, allocations: 4 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.005221, allocations: 60.91 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.005232, allocations: 0 / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.967e-05/0.005262, allocations: 11.98 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.005443, allocations: 84.23 kB / 0.8131 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.005445, allocations: 0.625 kB / 0.8131 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.52e-07/0.005446, allocations: 0 / 0.8131 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.838e-06/0.00545, allocations: 1.25 kB / 0.8131 GB, free: 15.72 MB / 0.7761 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.0004908/0.005941, allocations: 282.1 kB / 0.8134 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.005979, allocations: 8.031 kB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.006152, allocations: 15.33 kB / 0.8134 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.006365, allocations: 117.7 kB / 0.8135 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.006375, allocations: 384 / 0.8135 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-06/0.006382, allocations: 384 / 0.8135 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.006523, allocations: 50.23 kB / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.00653, allocations: 0.7188 kB / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.006538, allocations: 384 / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.006546, allocations: 8.688 kB / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.302e-05/0.006639, allocations: 21.11 kB / 0.8136 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003209/0.00696, allocations: 200.6 kB / 0.8138 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.758e-05/0.007057, allocations: 28.11 kB / 0.8138 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.231e-05/0.00711, allocations: 16.91 kB / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00067/0.00778, allocations: 98.56 kB / 0.8139 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.007815, allocations: 34.5 kB / 0.814 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.007816, allocations: 0 / 0.814 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0002779/0.008094, allocations: 70.8 kB / 0.814 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.00814, allocations: 51.41 kB / 0.8141 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.00825, allocations: 110.4 kB / 0.8142 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.008271, allocations: 25.7 kB / 0.8142 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.052e-05/0.008332, allocations: 88.66 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.008347, allocations: 4.828 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.008384, allocations: 13.72 kB / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.008548, allocations: 318.8 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.051e-05/0.008598, allocations: 8.797 kB / 0.8146 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.899e-05/0.008667, allocations: 8.531 kB / 0.8146 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.008795, allocations: 34.16 kB / 0.8147 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.008797, allocations: 0 / 0.8147 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001522/0.008949, allocations: 58.78 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.008965, allocations: 7.938 kB / 0.8147 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.00897, allocations: 0.7812 kB / 0.8147 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.008988, allocations: 4 kB / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.101e-05/0.009059, allocations: 4.594 kB / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.009063, allocations: 0 / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.506e-05/0.009098, allocations: 4.891 kB / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.009108, allocations: 4 kB / 0.8148 GB, free: 13.9 MB / 0.7761 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 8.63e-05/0.009194, allocations: 110.7 kB / 0.8149 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.009226, allocations: 13.16 kB / 0.8149 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001732/0.009399, allocations: 65.25 kB / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.009402, allocations: 0 / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.009405, allocations: 0.7188 kB / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.00941, allocations: 3.984 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.009567, allocations: 114.1 kB / 0.815 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.00957, allocations: 4 kB / 0.815 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.375e-05/0.009614, allocations: 5.562 kB / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.009615, allocations: 0 / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.009625, allocations: 3.938 kB / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.009629, allocations: 3.984 kB / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.009632, allocations: 8.969 kB / 0.8151 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002096/0.009842, allocations: 150.8 kB / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.188e-05/0.009853, allocations: 7.953 kB / 0.8152 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.009868, allocations: 3.938 kB / 0.8152 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.339e-05/0.009932, allocations: 3.984 kB / 0.8152 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.009965, allocations: 4 kB / 0.8152 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.009969, allocations: 0 / 0.8152 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.945e-05/0.01004, allocations: 91.64 kB / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01004, allocations: 0 / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002419/0.01028, allocations: 12 kB / 0.8153 GB, free: 13.26 MB / 0.7761 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.0001875/0.01047, allocations: 117.6 kB / 0.8154 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001308/0.0106, allocations: 23.98 kB / 0.8155 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.0106, allocations: 3.938 kB / 0.8155 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.691e-05/0.01065, allocations: 13.09 kB / 0.8155 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.01088, allocations: 5.672 kB / 0.8155 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003383/0.01122, allocations: 137.1 kB / 0.8156 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.813e-05/0.01128, allocations: 61.66 kB / 0.8157 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.444e-05/0.01131, allocations: 4 kB / 0.8157 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.01134, allocations: 8.5 kB / 0.8157 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of SimCode: time 4.31e-07/0.01134, allocations: 0 / 0.8157 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of Templates: time 0.003541/0.01488, allocations: 0.6963 MB / 0.8164 GB, free: 12.17 MB / 0.7761 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: 7.70914447598625]