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.0011/0.0011, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001585/0.002685, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001071/0.001071, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002283/0.003353, allocations: 479.5 kB / 11.83 MB, free: 2.344 MB / 13.93 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.9474/0.9474, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08768/1.035, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.861/1.861, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4881/2.349, allocations: 123.3 MB / 0.7283 GB, free: 5.738 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.803e-06/1.803e-06, allocations: 0 / 0.7297 GB, free: 4.402 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/2.045e-05, allocations: 5.094 kB / 0.7297 GB, free: 4.398 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002449/0.00247, allocations: 1.575 MB / 0.7312 GB, free: 2.844 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009198/0.003389, allocations: 0.6125 MB / 0.7318 GB, free: 2.234 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.91e-05/0.003438, allocations: 0 / 0.7318 GB, free: 2.234 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.209e-05/0.003461, allocations: 0.5625 kB / 0.7318 GB, free: 2.234 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.98e-05/0.00349, allocations: 8.406 kB / 0.7318 GB, free: 2.23 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.003676, allocations: 52.69 kB / 0.7319 GB, free: 2.18 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.283e-05/0.003769, allocations: 31.75 kB / 0.7319 GB, free: 2.156 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.325e-05/0.003842, allocations: 4.625 kB / 0.7319 GB, free: 2.152 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.003987, allocations: 39.19 kB / 0.7319 GB, free: 2.117 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.313e-05/0.00404, allocations: 9.688 kB / 0.7319 GB, free: 2.109 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.004056, allocations: 4 kB / 0.7319 GB, free: 2.105 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.004202, allocations: 60.59 kB / 0.732 GB, free: 2.047 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.004219, allocations: 5.422 kB / 0.732 GB, free: 2.043 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.788e-05/0.004236, allocations: 6.328 kB / 0.732 GB, free: 2.039 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.00439, allocations: 69.23 kB / 0.7321 GB, free: 1.977 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.201e-05/0.004402, allocations: 0 / 0.7321 GB, free: 1.977 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.91e-07/0.004403, allocations: 0.625 kB / 0.7321 GB, free: 1.977 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.004416, allocations: 0.9062 kB / 0.7321 GB, free: 1.977 MB / 0.698 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.000391/0.004807, allocations: 252.5 kB / 0.7323 GB, free: 1.707 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.47e-05/0.004842, allocations: 8.031 kB / 0.7323 GB, free: 1.699 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.005005, allocations: 90.75 kB / 0.7324 GB, free: 1.594 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.005154, allocations: 127 kB / 0.7325 GB, free: 1.445 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-06/0.005161, allocations: 384 / 0.7325 GB, free: 1.445 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.005173, allocations: 384 / 0.7325 GB, free: 1.445 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.451e-05/0.005268, allocations: 55.42 kB / 0.7326 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.005275, allocations: 192 / 0.7326 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-06/0.005282, allocations: 2.031 kB / 0.7326 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.005288, allocations: 3.938 kB / 0.7326 GB, free: 1.379 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.491e-05/0.005313, allocations: 15.97 kB / 0.7326 GB, free: 1.363 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/0.005511, allocations: 144.4 kB / 0.7328 GB, free: 1.207 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.692e-05/0.005558, allocations: 23.39 kB / 0.7328 GB, free: 1.176 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.345e-05/0.005571, allocations: 4.859 kB / 0.7328 GB, free: 1.168 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003482/0.005919, allocations: 86.27 kB / 0.7329 GB, free: 1.086 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.005945, allocations: 31.41 kB / 0.7329 GB, free: 1.047 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.005946, allocations: 3.938 kB / 0.7329 GB, free: 1.043 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001273/0.006073, allocations: 42.88 kB / 0.7329 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.006105, allocations: 51.41 kB / 0.733 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.76e-05/0.006183, allocations: 122.6 kB / 0.7331 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.006196, allocations: 27.45 kB / 0.7331 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.736e-05/0.006234, allocations: 84.14 kB / 0.7332 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.006253, allocations: 11.95 kB / 0.7332 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.006283, allocations: 13.7 kB / 0.7332 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.006385, allocations: 320 kB / 0.7335 GB, free: 340 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.014e-05/0.006395, allocations: 0 / 0.7335 GB, free: 340 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.798e-06/0.006405, allocations: 4 kB / 0.7335 GB, free: 336 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.99e-05/0.006435, allocations: 13.5 kB / 0.7336 GB, free: 320 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.006437, allocations: 1.125 kB / 0.7336 GB, free: 320 kB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.464e-05/0.006492, allocations: 33.7 kB / 0.7336 GB, free: 280 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.006505, allocations: 4 kB / 0.7336 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.006511, allocations: 4.734 kB / 0.7336 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.006524, allocations: 7.875 kB / 0.7336 GB, free: 264 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.722e-05/0.006582, allocations: 4.781 kB / 0.7336 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.006584, allocations: 0 / 0.7336 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.852e-05/0.006602, allocations: 4.531 kB / 0.7336 GB, free: 256 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.006607, allocations: 1.281 kB / 0.7336 GB, free: 256 kB / 0.698 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 5.533e-05/0.006662, allocations: 105.8 kB / 0.7337 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.006685, allocations: 7.984 kB / 0.7337 GB, free: 132 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.07e-05/0.006766, allocations: 49.92 kB / 0.7338 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.006769, allocations: 5.156 kB / 0.7338 GB, free: 68 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.00677, allocations: 0 / 0.7338 GB, free: 68 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.006773, allocations: 0 / 0.7338 GB, free: 68 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.0069, allocations: 70.62 kB / 0.7338 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.006901, allocations: 0 / 0.7338 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.931e-05/0.00693, allocations: 9.312 kB / 0.7338 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-06/0.006936, allocations: 0 / 0.7338 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.006938, allocations: 3.938 kB / 0.7339 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-06/0.006942, allocations: 0 / 0.7339 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.006945, allocations: 4.688 kB / 0.7339 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.006946, allocations: 3.984 kB / 0.7339 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.075e-05/0.007027, allocations: 136.2 kB / 0.734 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.00704, allocations: 9.703 kB / 0.734 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.859e-05/0.007089, allocations: 0 / 0.734 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-05/0.007114, allocations: 7.938 kB / 0.734 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.007117, allocations: 0 / 0.734 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.883e-05/0.007136, allocations: 12.84 kB / 0.734 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.007136, allocations: 1.344 kB / 0.734 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002193/0.007355, allocations: 15.94 kB / 0.734 GB, free: 15.77 MB / 0.7136 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.0001385/0.007494, allocations: 101.6 kB / 0.7341 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.546e-05/0.007559, allocations: 16.8 kB / 0.7341 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.007564, allocations: 0 / 0.7341 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.246e-05/0.007586, allocations: 18.09 kB / 0.7342 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.007744, allocations: 5.406 kB / 0.7342 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008218/0.008566, allocations: 135.8 kB / 0.7343 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.769e-05/0.008604, allocations: 55.34 kB / 0.7344 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.977e-05/0.008624, allocations: 7.938 kB / 0.7344 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.008664, allocations: 51.38 kB / 0.7344 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of SimCode: time 8.02e-07/0.008665, allocations: 0 / 0.7344 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of Templates: time 0.002763/0.01143, allocations: 0.7555 MB / 0.7351 GB, free: 14.62 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit/Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.878091985359788]