Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.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.001629/0.001629, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.002077/0.002077, allocations: 220.5 kB / 23.01 MB, free: 4.609 MB / 14.72 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 8.078 MB / 206.1 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.164/3.164, allocations: 0.505 GB / 0.8108 GB, free: 22.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.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.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 71.78 kB / 1.178 GB, free: 16.96 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.353, allocations: 180.2 MB / 1.354 GB, free: 8.012 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003272/0.3563, allocations: 1.815 MB / 1.356 GB, free: 6.184 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.3577, allocations: 0.7408 MB / 1.357 GB, free: 5.438 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.384e-05/0.3577, allocations: 4 kB / 1.357 GB, free: 5.434 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.071e-05/0.3578, allocations: 15.8 kB / 1.357 GB, free: 5.418 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.366e-05/0.3578, allocations: 11.81 kB / 1.357 GB, free: 5.406 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000613/0.3585, allocations: 194.9 kB / 1.357 GB, free: 5.219 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.3587, allocations: 115.7 kB / 1.357 GB, free: 5.105 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.3588, allocations: 41.55 kB / 1.357 GB, free: 5.062 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002146/0.359, allocations: 71.77 kB / 1.357 GB, free: 4.992 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.3591, allocations: 55.64 kB / 1.357 GB, free: 4.938 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/0.3591, allocations: 16 kB / 1.357 GB, free: 4.922 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.3593, allocations: 47.97 kB / 1.357 GB, free: 4.875 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.985e-05/0.3593, allocations: 35.89 kB / 1.357 GB, free: 4.84 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.3594, allocations: 51.72 kB / 1.357 GB, free: 4.789 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.3597, allocations: 159.4 kB / 1.357 GB, free: 4.633 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3597, allocations: 0 / 1.357 GB, free: 4.633 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3597, allocations: 0 / 1.357 GB, free: 4.633 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.3597, allocations: 0 / 1.357 GB, free: 4.633 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007619/0.3605, allocations: 377.6 kB / 1.358 GB, free: 4.234 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.3605, allocations: 8.031 kB / 1.358 GB, free: 4.227 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009763/0.3615, allocations: 128.7 kB / 1.358 GB, free: 4.102 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.3618, allocations: 150.8 kB / 1.358 GB, free: 3.93 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.3619, allocations: 119.4 kB / 1.358 GB, free: 3.789 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.3619, allocations: 11.94 kB / 1.358 GB, free: 3.777 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005234/0.3625, allocations: 175.2 kB / 1.358 GB, free: 3.602 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3625, allocations: 0 / 1.358 GB, free: 3.602 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.3625, allocations: 0 / 1.358 GB, free: 3.602 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.3625, allocations: 4 kB / 1.358 GB, free: 3.598 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005929/0.3631, allocations: 159.8 kB / 1.358 GB, free: 3.441 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.3642, allocations: 464.7 kB / 1.359 GB, free: 2.945 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009801/0.3652, allocations: 210.3 kB / 1.359 GB, free: 2.73 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/0.3655, allocations: 80.91 kB / 1.359 GB, free: 2.648 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.3655, allocations: 0 / 1.359 GB, free: 2.648 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.3656, allocations: 42.42 kB / 1.359 GB, free: 2.598 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.3656, allocations: 4 kB / 1.359 GB, free: 2.594 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0009926/0.3665, allocations: 261.4 kB / 1.359 GB, free: 2.332 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.3666, allocations: 55.41 kB / 1.36 GB, free: 2.266 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.3667, allocations: 149.4 kB / 1.36 GB, free: 2.109 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.3668, allocations: 25.7 kB / 1.36 GB, free: 2.078 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.287e-05/0.3668, allocations: 108.2 kB / 1.36 GB, free: 1.969 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.3669, allocations: 23.84 kB / 1.36 GB, free: 1.945 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.3669, allocations: 25.7 kB / 1.36 GB, free: 1.914 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3671, allocations: 318.8 kB / 1.36 GB, free: 1.594 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/0.3674, allocations: 75.92 kB / 1.36 GB, free: 1.52 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003023/0.3677, allocations: 102.4 kB / 1.36 GB, free: 1.41 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005944/0.3683, allocations: 166.6 kB / 1.36 GB, free: 1.238 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3683, allocations: 0 / 1.36 GB, free: 1.238 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006583/0.3689, allocations: 209.4 kB / 1.361 GB, free: 1.027 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.3689, allocations: 8 kB / 1.361 GB, free: 1.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.369, allocations: 0 / 1.361 GB, free: 1.02 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.369, allocations: 0 / 1.361 GB, free: 1.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/0.3692, allocations: 43.83 kB / 1.361 GB, free: 0.9766 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.3692, allocations: 3.984 kB / 1.361 GB, free: 0.9727 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.3694, allocations: 31.92 kB / 1.361 GB, free: 0.9414 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.3694, allocations: 4 kB / 1.361 GB, free: 0.9375 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0001146/0.3696, allocations: 122.4 kB / 1.361 GB, free: 0.8086 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.3696, allocations: 11.89 kB / 1.361 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007127/0.3703, allocations: 210.2 kB / 1.361 GB, free: 0.5859 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3703, allocations: 3.984 kB / 1.361 GB, free: 0.582 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3703, allocations: 0 / 1.361 GB, free: 0.582 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.3703, allocations: 0 / 1.361 GB, free: 0.582 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.3706, allocations: 205.4 kB / 1.361 GB, free: 344 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3706, allocations: 0 / 1.361 GB, free: 344 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.3708, allocations: 43.94 kB / 1.361 GB, free: 300 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.3708, allocations: 0 / 1.361 GB, free: 300 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.3708, allocations: 4 kB / 1.361 GB, free: 296 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3709, allocations: 0 / 1.361 GB, free: 296 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3709, allocations: 0 / 1.361 GB, free: 296 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007065/0.3716, allocations: 287.5 kB / 1.362 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.588e-05/0.3716, allocations: 7.953 kB / 1.362 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.3716, allocations: 4 kB / 1.362 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002891/0.3719, allocations: 31.91 kB / 1.362 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.3719, allocations: 11.92 kB / 1.362 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.372, allocations: 7.984 kB / 1.362 GB, free: 15.93 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.254e-05/0.372, allocations: 109.1 kB / 1.362 GB, free: 15.82 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.372, allocations: 0 / 1.362 GB, free: 15.82 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002678/0.3723, allocations: 27.94 kB / 1.362 GB, free: 15.8 MB / 1.061 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 (6): * Single equations (assignments): 6 * 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.0001651/0.3725, allocations: 95.23 kB / 1.362 GB, free: 15.7 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00064/0.3731, allocations: 167.8 kB / 1.362 GB, free: 15.53 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3731, allocations: 3.938 kB / 1.362 GB, free: 15.53 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.3734, allocations: 71.92 kB / 1.362 GB, free: 15.46 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.3737, allocations: 11.94 kB / 1.362 GB, free: 15.45 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007408/0.3744, allocations: 292.7 kB / 1.362 GB, free: 15.13 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.3748, allocations: 0.7002 MB / 1.363 GB, free: 14.4 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.97e-05/0.3749, allocations: 15.42 kB / 1.363 GB, free: 14.39 MB / 1.061 GB Notification: Performance of SimCode: time 4.7e-07/0.3749, allocations: 0 / 1.363 GB, free: 14.39 MB / 1.061 GB Notification: Performance of Templates: time 0.003604/0.3785, allocations: 1.65 MB / 1.365 GB, free: 12.74 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.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.956169718992896]