Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 105.3 kB / 16.41 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 192.3 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.396/2.396, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 67.91 kB / 0.9516 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.01, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003462/1.013, allocations: 1.752 MB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001327/1.014, allocations: 0.6691 MB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.16e-05/1.015, allocations: 2 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.735e-05/1.015, allocations: 10.64 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.419e-05/1.015, allocations: 19.42 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006429/1.015, allocations: 178.8 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001942/1.016, allocations: 125.2 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/1.016, allocations: 57.02 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/1.016, allocations: 53.48 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/1.016, allocations: 54.98 kB / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.403e-05/1.016, allocations: 10.94 kB / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/1.016, allocations: 43.73 kB / 1.092 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.812e-05/1.016, allocations: 37.56 kB / 1.092 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.466e-05/1.016, allocations: 52.08 kB / 1.092 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002821/1.017, allocations: 155.1 kB / 1.092 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.017, allocations: 0 / 1.092 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.893e-06/1.017, allocations: 0.7812 kB / 1.092 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.793e-06/1.017, allocations: 0 / 1.092 GB, free: 3.461 MB / 0.8575 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.0006546/1.017, allocations: 439.4 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/1.017, allocations: 9.156 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009624/1.018, allocations: 112.7 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/1.018, allocations: 180.5 kB / 1.092 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.835e-05/1.019, allocations: 64.62 kB / 1.093 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/1.019, allocations: 9.469 kB / 1.093 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006141/1.019, allocations: 174.8 kB / 1.093 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/1.019, allocations: 0 / 1.093 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/1.019, allocations: 5.953 kB / 1.093 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/1.019, allocations: 1.406 kB / 1.093 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006692/1.02, allocations: 159.7 kB / 1.093 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/1.021, allocations: 474.6 kB / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/1.022, allocations: 217.5 kB / 1.094 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003435/1.023, allocations: 83.69 kB / 1.094 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.488e-05/1.023, allocations: 6.031 kB / 1.094 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/1.023, allocations: 39.78 kB / 1.094 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/1.023, allocations: 4.969 kB / 1.094 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.001155/1.024, allocations: 262.7 kB / 1.094 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/1.024, allocations: 52.12 kB / 1.094 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/1.024, allocations: 137.3 kB / 1.094 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/1.024, allocations: 26.58 kB / 1.094 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.959e-05/1.024, allocations: 118.3 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/1.024, allocations: 15.38 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.631e-05/1.024, allocations: 24.41 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.931e-05/1.024, allocations: 319.3 kB / 1.095 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/1.025, allocations: 70.42 kB / 1.095 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000346/1.025, allocations: 96.64 kB / 1.095 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006441/1.026, allocations: 164.7 kB / 1.095 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.026, allocations: 0.6562 kB / 1.095 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007467/1.026, allocations: 201.5 kB / 1.095 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/1.026, allocations: 8.625 kB / 1.095 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.027, allocations: 0.9688 kB / 1.095 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/1.027, allocations: 5.656 kB / 1.095 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/1.027, allocations: 42.91 kB / 1.095 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/1.027, allocations: 1.375 kB / 1.095 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/1.027, allocations: 29.8 kB / 1.095 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/1.027, allocations: 4.344 kB / 1.095 GB, free: 1.211 MB / 0.8575 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.0001053/1.027, allocations: 123.2 kB / 1.095 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.787e-05/1.027, allocations: 8.188 kB / 1.095 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008017/1.028, allocations: 204.1 kB / 1.095 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/1.028, allocations: 4.938 kB / 1.095 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/1.028, allocations: 0.6562 kB / 1.095 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-05/1.028, allocations: 96.12 kB / 1.096 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/1.028, allocations: 4.719 kB / 1.096 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003251/1.029, allocations: 28.94 kB / 1.096 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/1.029, allocations: 5.328 kB / 1.096 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009013/1.029, allocations: 284.3 kB / 1.096 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007644/1.03, allocations: 361.5 kB / 1.096 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003341/1.031, allocations: 81.58 kB / 1.096 GB, free: 492 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.42e-05/1.031, allocations: 111 kB / 1.096 GB, free: 404 kB / 0.8575 GB Notification: Performance of Backend: time 1.012e-06/1.031, allocations: 0 / 1.096 GB, free: 404 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008364/1.032, allocations: 179.9 kB / 1.097 GB, free: 312 kB / 0.8575 GB Notification: Performance of SimCode: time 0.0007105/1.032, allocations: 0.6461 MB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of Templates: time 0.006565/1.039, allocations: 2.268 MB / 1.099 GB, free: 15.5 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches