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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00506/0.00506, allocations: 100.4 kB / 15.73 MB, free: 6.047 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.001111/0.001111, allocations: 187.6 kB / 16.67 MB, free: 5.977 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.788/2.788, allocations: 461.9 MB / 0.7347 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 60.12 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3341, allocations: 157.4 MB / 1.208 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003092/0.3372, allocations: 1.766 MB / 1.209 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.3383, allocations: 0.6705 MB / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.651e-05/0.3383, allocations: 0 / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.382e-05/0.3384, allocations: 11.81 kB / 1.21 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.683e-05/0.3385, allocations: 23.78 kB / 1.21 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005705/0.3391, allocations: 171.9 kB / 1.21 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.3392, allocations: 119.7 kB / 1.21 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.3394, allocations: 53.09 kB / 1.21 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.3395, allocations: 59.83 kB / 1.211 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.901e-05/0.3396, allocations: 43.78 kB / 1.211 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.3396, allocations: 12 kB / 1.211 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.3397, allocations: 51.95 kB / 1.211 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.203e-05/0.3398, allocations: 27.91 kB / 1.211 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.383e-05/0.3398, allocations: 59.64 kB / 1.211 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.34, allocations: 151.5 kB / 1.211 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.34, allocations: 0 / 1.211 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.523e-06/0.34, allocations: 0 / 1.211 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.3401, allocations: 0 / 1.211 GB, free: 6.395 MB / 0.9669 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.0006336/0.3407, allocations: 442.9 kB / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.3407, allocations: 12.03 kB / 1.211 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008213/0.3416, allocations: 108.7 kB / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.3417, allocations: 188 kB / 1.212 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.3418, allocations: 67.95 kB / 1.212 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.3419, allocations: 4.375 kB / 1.212 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005105/0.3424, allocations: 173.7 kB / 1.212 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.3424, allocations: 0 / 1.212 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.3424, allocations: 8 kB / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3424, allocations: 0 / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006106/0.343, allocations: 151.8 kB / 1.212 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.3441, allocations: 485.9 kB / 1.212 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009922/0.3451, allocations: 218.3 kB / 1.213 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000303/0.3454, allocations: 84.91 kB / 1.213 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.3455, allocations: 0 / 1.213 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.3455, allocations: 38.56 kB / 1.213 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.3455, allocations: 0 / 1.213 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.001021/0.3465, allocations: 261.5 kB / 1.213 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.3466, allocations: 51.41 kB / 1.213 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.3467, allocations: 147.9 kB / 1.213 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.3467, allocations: 37.7 kB / 1.213 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.3468, allocations: 104.2 kB / 1.213 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.3468, allocations: 27.59 kB / 1.213 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.399e-05/0.3469, allocations: 21.7 kB / 1.213 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.826e-05/0.347, allocations: 322.8 kB / 1.214 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003169/0.3473, allocations: 71.92 kB / 1.214 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003059/0.3476, allocations: 94.5 kB / 1.214 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005837/0.3482, allocations: 170.4 kB / 1.214 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3482, allocations: 3.938 kB / 1.214 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006543/0.3489, allocations: 201.4 kB / 1.214 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3489, allocations: 4 kB / 1.214 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3489, allocations: 320 / 1.214 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.3489, allocations: 7.938 kB / 1.214 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.3492, allocations: 31.95 kB / 1.214 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.3492, allocations: 8 kB / 1.214 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.3494, allocations: 23.97 kB / 1.214 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.3494, allocations: 7.984 kB / 1.214 GB, free: 2.641 MB / 0.9669 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 9.608e-05/0.3495, allocations: 117.8 kB / 1.214 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.118e-05/0.3496, allocations: 7.906 kB / 1.214 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007141/0.3503, allocations: 210.1 kB / 1.215 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.3503, allocations: 3.984 kB / 1.215 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3503, allocations: 0 / 1.215 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3503, allocations: 4 kB / 1.215 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.3506, allocations: 250 kB / 1.215 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.3506, allocations: 0 / 1.215 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002153/0.3508, allocations: 27.95 kB / 1.215 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3508, allocations: 4 kB / 1.215 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.3508, allocations: 7.938 kB / 1.215 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3508, allocations: 0 / 1.215 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3508, allocations: 0 / 1.215 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006879/0.3515, allocations: 287.2 kB / 1.215 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.3516, allocations: 89 kB / 1.215 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.3516, allocations: 7.938 kB / 1.215 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/0.3519, allocations: 27.95 kB / 1.215 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.352, allocations: 4 kB / 1.215 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.352, allocations: 7.984 kB / 1.215 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.825e-05/0.352, allocations: 104.3 kB / 1.215 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3521, allocations: 0 / 1.215 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002523/0.3523, allocations: 28 kB / 1.215 GB, free: 1.371 MB / 0.9669 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.0001228/0.3524, allocations: 99.25 kB / 1.216 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006716/0.3531, allocations: 163.8 kB / 1.216 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.3531, allocations: 4.125 kB / 1.216 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003083/0.3534, allocations: 84.11 kB / 1.216 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.3537, allocations: 13.94 kB / 1.216 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006879/0.3544, allocations: 259.4 kB / 1.216 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.3547, allocations: 0.7058 MB / 1.217 GB, free: 16 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.065e-05/0.3548, allocations: 12 kB / 1.217 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.934e-05/0.3549, allocations: 15.42 kB / 1.217 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of SimCode: time 2e-07/0.3549, allocations: 0 / 1.217 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of Templates: time 0.004073/0.359, allocations: 1.505 MB / 1.218 GB, free: 14.48 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches