Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001313/0.001313, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.001438/0.001438, allocations: 209.7 kB / 22.99 MB, free: 4.965 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.309/3.309, allocations: 0.4892 GB / 0.7951 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_12_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_12_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.003038/0.003038, allocations: 66.86 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4113, allocations: 176.1 MB / 1.326 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003319/0.4146, allocations: 1.774 MB / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.416, allocations: 0.6975 MB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.841e-05/0.4161, allocations: 0 / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.626e-05/0.4161, allocations: 15.8 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.658e-05/0.4162, allocations: 15.81 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006341/0.4169, allocations: 185.5 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.4171, allocations: 127.6 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.4172, allocations: 41.55 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.4174, allocations: 59.83 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.725e-05/0.4175, allocations: 51.7 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.4175, allocations: 8 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.4177, allocations: 47.97 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.263e-05/0.4177, allocations: 35.89 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.049e-05/0.4178, allocations: 47.78 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.418, allocations: 155.4 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.418, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.522e-06/0.418, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.77e-06/0.418, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 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.0006818/0.4187, allocations: 369.7 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.4187, allocations: 8.031 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009786/0.4197, allocations: 132.7 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.4201, allocations: 155.8 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.4202, allocations: 115.4 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.4202, allocations: 15.88 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005803/0.4208, allocations: 228.8 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.4208, allocations: 3.938 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.4208, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.4209, allocations: 4 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006067/0.4215, allocations: 159.8 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.4226, allocations: 401.6 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.4236, allocations: 210.3 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000297/0.4239, allocations: 72.91 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-05/0.4239, allocations: 12 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.4239, allocations: 38.48 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.4239, allocations: 0 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.001048/0.425, allocations: 261.4 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.425, allocations: 51.41 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.4252, allocations: 144.1 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.4252, allocations: 29.7 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.525e-05/0.4253, allocations: 116.2 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.4253, allocations: 11.86 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.567e-05/0.4254, allocations: 25.7 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.4255, allocations: 322.8 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003019/0.4258, allocations: 79.91 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003414/0.4262, allocations: 98.42 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005946/0.4268, allocations: 162.4 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4268, allocations: 256 / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006673/0.4274, allocations: 205.4 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.4275, allocations: 8.062 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.4275, allocations: 0 / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.4275, allocations: 4 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.4278, allocations: 39.89 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.4278, allocations: 4 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.428, allocations: 31.84 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.428, allocations: 4 kB / 1.333 GB, free: 10.91 MB / 1.029 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.0001132/0.4281, allocations: 121.8 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.474e-05/0.4281, allocations: 11.89 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007309/0.4289, allocations: 206.1 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.4289, allocations: 4 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4289, allocations: 4 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.4289, allocations: 3.984 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.4291, allocations: 154.1 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4291, allocations: 0 / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.4293, allocations: 31.95 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.217e-06/0.4293, allocations: 3.938 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.4293, allocations: 11.94 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4293, allocations: 0 / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4293, allocations: 0 / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007196/0.4301, allocations: 287.3 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.706e-05/0.4301, allocations: 11.89 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.4301, allocations: 3.938 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/0.4304, allocations: 35.95 kB / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.4304, allocations: 8.172 kB / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.4305, allocations: 11.98 kB / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.233e-05/0.4305, allocations: 109.7 kB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4305, allocations: 0 / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002681/0.4308, allocations: 27.94 kB / 1.334 GB, free: 9.824 MB / 1.029 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.0001397/0.431, allocations: 95.23 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006831/0.4316, allocations: 163.8 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4316, allocations: 0 / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003161/0.432, allocations: 79.92 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.4322, allocations: 17.64 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007137/0.433, allocations: 277.5 kB / 1.334 GB, free: 9.164 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.421e-05/0.4331, allocations: 89.12 kB / 1.335 GB, free: 9.059 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.896e-05/0.4331, allocations: 19.42 kB / 1.335 GB, free: 9.039 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4331, allocations: 0 / 1.335 GB, free: 9.039 MB / 1.029 GB Notification: Performance of Templates: time 0.003716/0.4369, allocations: 1.682 MB / 1.336 GB, free: 7.359 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.274943646974862]