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.001724/0.001724, allocations: 112.2 kB / 16.41 MB, free: 6.008 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.002031/0.002032, allocations: 185 kB / 17.34 MB, free: 5.629 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.449/1.449, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.714/2.714, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 64.12 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7913/0.7927, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003047/0.7958, allocations: 1.77 MB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.7969, allocations: 0.6545 MB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.407e-05/0.797, allocations: 4 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.9e-05/0.7971, allocations: 15.8 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.372e-05/0.7972, allocations: 15.8 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009636/0.7982, allocations: 171 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004176/0.7986, allocations: 127.6 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003265/0.799, allocations: 49.09 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003078/0.7993, allocations: 55.83 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.7995, allocations: 51.77 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.546e-05/0.7995, allocations: 8 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002439/0.7998, allocations: 43.97 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.952e-05/0.7999, allocations: 39.89 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.98e-05/0.8, allocations: 51.72 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003632/0.8003, allocations: 155.3 kB / 1.212 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.8003, allocations: 0 / 1.212 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.544e-06/0.8004, allocations: 0 / 1.212 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.8004, allocations: 4 kB / 1.212 GB, free: 10.43 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.001043/0.8014, allocations: 432.8 kB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.553e-05/0.8015, allocations: 12.03 kB / 1.212 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.8026, allocations: 112.7 kB / 1.212 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.8029, allocations: 184.1 kB / 1.212 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001706/0.8031, allocations: 59.97 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.8031, allocations: 12.31 kB / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006384/0.8038, allocations: 179.6 kB / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.8038, allocations: 0 / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.8038, allocations: 4 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.8038, allocations: 4 kB / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006831/0.8045, allocations: 159.8 kB / 1.213 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.8058, allocations: 485.9 kB / 1.213 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.8068, allocations: 214.3 kB / 1.213 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.8072, allocations: 84.89 kB / 1.213 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.8072, allocations: 7.938 kB / 1.213 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.8072, allocations: 34.56 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.8072, allocations: 0 / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.001044/0.8083, allocations: 265.6 kB / 1.214 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.8083, allocations: 51.41 kB / 1.214 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.8085, allocations: 136.1 kB / 1.214 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.8085, allocations: 25.7 kB / 1.214 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.352e-05/0.8086, allocations: 120.1 kB / 1.214 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.8086, allocations: 15.7 kB / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.962e-05/0.8087, allocations: 25.72 kB / 1.214 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.8088, allocations: 318.8 kB / 1.214 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.8091, allocations: 71.92 kB / 1.214 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003199/0.8094, allocations: 106.5 kB / 1.215 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006032/0.81, allocations: 158.4 kB / 1.215 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.8101, allocations: 0 / 1.215 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007285/0.8108, allocations: 201.4 kB / 1.215 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.8108, allocations: 8 kB / 1.215 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.8108, allocations: 0 / 1.215 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.8109, allocations: 3.938 kB / 1.215 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.8111, allocations: 47.83 kB / 1.215 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.8112, allocations: 3.984 kB / 1.215 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.8114, allocations: 23.91 kB / 1.215 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.8114, allocations: 4 kB / 1.215 GB, free: 6.691 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 0.0001066/0.8115, allocations: 117.8 kB / 1.215 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.691e-05/0.8116, allocations: 11.91 kB / 1.215 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007451/0.8123, allocations: 214.1 kB / 1.215 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.768e-06/0.8123, allocations: 3.984 kB / 1.215 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.8123, allocations: 0 / 1.215 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.8123, allocations: 0 / 1.215 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/0.8126, allocations: 242.2 kB / 1.216 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.8126, allocations: 0 / 1.216 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.8129, allocations: 31.95 kB / 1.216 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.8129, allocations: 0 / 1.216 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.8129, allocations: 11.86 kB / 1.216 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.8129, allocations: 8 kB / 1.216 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.8129, allocations: 128 / 1.216 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007151/0.8136, allocations: 287.2 kB / 1.216 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.124e-05/0.8137, allocations: 89.02 kB / 1.216 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.8137, allocations: 3.938 kB / 1.216 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003067/0.814, allocations: 31.95 kB / 1.216 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.8141, allocations: 7.984 kB / 1.216 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.8141, allocations: 7.984 kB / 1.216 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.024e-05/0.8142, allocations: 105.7 kB / 1.216 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8142, allocations: 0 / 1.216 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002676/0.8145, allocations: 27.84 kB / 1.216 GB, free: 5.406 MB / 0.9356 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.0001499/0.8146, allocations: 99.25 kB / 1.216 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006814/0.8153, allocations: 163.8 kB / 1.216 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.8153, allocations: 4.125 kB / 1.216 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003263/0.8157, allocations: 83.91 kB / 1.216 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.816, allocations: 11.94 kB / 1.216 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006578/0.8167, allocations: 265.2 kB / 1.217 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.817, allocations: 0.704 MB / 1.217 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.239e-05/0.8171, allocations: 19.42 kB / 1.217 GB, free: 4 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.8171, allocations: 3.938 kB / 1.217 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of Templates: time 0.003458/0.8205, allocations: 1.61 MB / 1.219 GB, free: 2.395 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