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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.00169/0.00169, allocations: 110 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.001829/0.001829, allocations: 191.9 kB / 17.35 MB, free: 5.734 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.421/1.421, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.571/2.571, allocations: 461.7 MB / 0.7352 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 63.91 kB / 1.055 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9939/0.9952, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002917/0.9981, allocations: 1.773 MB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.9992, allocations: 0.6507 MB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.545e-05/0.9993, allocations: 0 / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.312e-05/0.9993, allocations: 15.8 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.497e-05/0.9994, allocations: 23.8 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005319/1, allocations: 167.4 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001582/1, allocations: 119.7 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/1, allocations: 53.03 kB / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/1, allocations: 55.83 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.769e-05/1.001, allocations: 51.77 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.181e-05/1.001, allocations: 16 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/1.001, allocations: 43.97 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.665e-05/1.001, allocations: 31.89 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.646e-05/1.001, allocations: 55.72 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002008/1.001, allocations: 151.3 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.001, allocations: 0 / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.663e-06/1.001, allocations: 0 / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.207e-06/1.001, allocations: 0 / 1.211 GB, free: 10.46 MB / 0.9356 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.0005831/1.002, allocations: 440.8 kB / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/1.002, allocations: 8.031 kB / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000807/1.002, allocations: 108.7 kB / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/1.003, allocations: 189.8 kB / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.24e-05/1.003, allocations: 63.97 kB / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/1.003, allocations: 8.375 kB / 1.212 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005032/1.003, allocations: 169.7 kB / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/1.003, allocations: 0 / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/1.003, allocations: 4 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/1.003, allocations: 3.938 kB / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005995/1.004, allocations: 159.8 kB / 1.212 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/1.005, allocations: 489.9 kB / 1.213 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009729/1.006, allocations: 226.2 kB / 1.213 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002871/1.006, allocations: 84.89 kB / 1.213 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/1.006, allocations: 0 / 1.213 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/1.006, allocations: 34.56 kB / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/1.006, allocations: 0 / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0009857/1.007, allocations: 261.5 kB / 1.213 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/1.008, allocations: 51.41 kB / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/1.008, allocations: 144.4 kB / 1.214 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/1.008, allocations: 29.7 kB / 1.214 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/1.008, allocations: 108.1 kB / 1.214 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/1.008, allocations: 23.7 kB / 1.214 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-05/1.008, allocations: 17.72 kB / 1.214 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001115/1.008, allocations: 326.8 kB / 1.214 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/1.008, allocations: 75.92 kB / 1.214 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003315/1.009, allocations: 94.48 kB / 1.214 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005578/1.009, allocations: 162.7 kB / 1.214 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.009, allocations: 4 kB / 1.214 GB, free: 7 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006387/1.01, allocations: 201.4 kB / 1.215 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/1.01, allocations: 4 kB / 1.215 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/1.01, allocations: 7.938 kB / 1.215 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/1.01, allocations: 3.938 kB / 1.215 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/1.01, allocations: 31.95 kB / 1.215 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/1.01, allocations: 7.984 kB / 1.215 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/1.01, allocations: 31.91 kB / 1.215 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/1.01, allocations: 4 kB / 1.215 GB, free: 6.707 MB / 0.9356 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.327e-05/1.01, allocations: 115.6 kB / 1.215 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.305e-05/1.01, allocations: 7.906 kB / 1.215 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007078/1.011, allocations: 214.1 kB / 1.215 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/1.011, allocations: 7.922 kB / 1.215 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.011, allocations: 0 / 1.215 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.474e-05/1.011, allocations: 85.02 kB / 1.215 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/1.011, allocations: 0 / 1.215 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002825/1.012, allocations: 27.95 kB / 1.215 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/1.012, allocations: 15.98 kB / 1.215 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008128/1.012, allocations: 276.8 kB / 1.215 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006965/1.013, allocations: 370.5 kB / 1.216 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000291/1.013, allocations: 84.16 kB / 1.216 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.96e-05/1.014, allocations: 103.3 kB / 1.216 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of Backend: time 5.91e-07/1.014, allocations: 0 / 1.216 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007178/1.014, allocations: 176.3 kB / 1.216 GB, free: 5.188 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006144/1.015, allocations: 0.6569 MB / 1.217 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of Templates: time 0.005006/1.02, allocations: 2.25 MB / 1.219 GB, free: 2.25 MB / 0.9356 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches