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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001459/0.001459, allocations: 198.4 kB / 16.14 MB, free: 6.793 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.374/1.374, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.657/2.657, allocations: 461.8 MB / 0.7342 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 71.3 kB / 0.8985 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2666, allocations: 157.4 MB / 1.052 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002982/0.2697, allocations: 1.819 MB / 1.054 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.2708, allocations: 0.6661 MB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.693e-05/0.2709, allocations: 4 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.849e-05/0.271, allocations: 7.922 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.64e-05/0.271, allocations: 11.86 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005096/0.2716, allocations: 158.3 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000142/0.2717, allocations: 111.7 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.2719, allocations: 53.08 kB / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.272, allocations: 55.83 kB / 1.055 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.32e-05/0.2721, allocations: 47.77 kB / 1.055 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.2721, allocations: 8 kB / 1.055 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.2722, allocations: 43.97 kB / 1.055 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.681e-05/0.2723, allocations: 27.89 kB / 1.055 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.059e-05/0.2723, allocations: 55.67 kB / 1.055 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.2725, allocations: 147.8 kB / 1.055 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2726, allocations: 0 / 1.055 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.62e-07/0.2726, allocations: 0 / 1.055 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2726, allocations: 0 / 1.055 GB, free: 4.984 MB / 0.8106 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.0005668/0.2731, allocations: 435.1 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.2732, allocations: 11.97 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.456e-05/0.2732, allocations: 42.75 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008434/0.2741, allocations: 112.6 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.2742, allocations: 180.2 kB / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.852e-05/0.2743, allocations: 59.97 kB / 1.056 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.2744, allocations: 12.38 kB / 1.056 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005075/0.2749, allocations: 181.3 kB / 1.056 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.2749, allocations: 0 / 1.056 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.2749, allocations: 4 kB / 1.056 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.2749, allocations: 4 kB / 1.056 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005873/0.2755, allocations: 159.8 kB / 1.056 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.2766, allocations: 485.8 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000964/0.2776, allocations: 214.3 kB / 1.057 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/0.2779, allocations: 80.91 kB / 1.057 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.2779, allocations: 0 / 1.057 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.2779, allocations: 42.5 kB / 1.057 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.2779, allocations: 0 / 1.057 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0009785/0.2789, allocations: 265.5 kB / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.279, allocations: 51.41 kB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.2791, allocations: 135.5 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.2791, allocations: 25.7 kB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.571e-05/0.2792, allocations: 116.1 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.2792, allocations: 15.73 kB / 1.058 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-05/0.2793, allocations: 29.7 kB / 1.058 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.343e-05/0.2794, allocations: 326.8 kB / 1.058 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002907/0.2797, allocations: 71.91 kB / 1.058 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002894/0.28, allocations: 94.44 kB / 1.058 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005325/0.2805, allocations: 158.4 kB / 1.058 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.2805, allocations: 0 / 1.058 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006129/0.2811, allocations: 205.4 kB / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.2812, allocations: 5.406 kB / 1.059 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.2812, allocations: 3.938 kB / 1.059 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.2812, allocations: 4 kB / 1.059 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.2814, allocations: 47.94 kB / 1.059 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.2815, allocations: 160 / 1.059 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.2817, allocations: 27.88 kB / 1.059 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.2817, allocations: 3.984 kB / 1.059 GB, free: 1.188 MB / 0.8106 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.0001003/0.2818, allocations: 117.8 kB / 1.059 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/0.2818, allocations: 15.91 kB / 1.059 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000663/0.2825, allocations: 206.5 kB / 1.059 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.2825, allocations: 4 kB / 1.059 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2825, allocations: 3.938 kB / 1.059 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.2825, allocations: 0 / 1.059 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.2828, allocations: 254 kB / 1.059 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2828, allocations: 0 / 1.059 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.283, allocations: 31.95 kB / 1.059 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.283, allocations: 0 / 1.059 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.283, allocations: 7.938 kB / 1.059 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.2831, allocations: 0 / 1.059 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2831, allocations: 0 / 1.059 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006264/0.2837, allocations: 287.3 kB / 1.06 GB, free: 204 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/0.2837, allocations: 85 kB / 1.06 GB, free: 100 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.2838, allocations: 7.938 kB / 1.06 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/0.2841, allocations: 31.89 kB / 1.06 GB, free: 60 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.2841, allocations: 11.98 kB / 1.06 GB, free: 48 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.2841, allocations: 7.984 kB / 1.06 GB, free: 40 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.542e-05/0.2842, allocations: 109.6 kB / 1.06 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2842, allocations: 0 / 1.06 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002601/0.2845, allocations: 23.91 kB / 1.06 GB, free: 15.91 MB / 0.8262 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.0008765/0.2854, allocations: 0.8177 MB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000596/0.286, allocations: 167.8 kB / 1.061 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.286, allocations: 0 / 1.061 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002746/0.2863, allocations: 79.91 kB / 1.061 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.2866, allocations: 7.938 kB / 1.061 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00274/0.2893, allocations: 1.86 MB / 1.063 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.2896, allocations: 0.7004 MB / 1.063 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.628e-05/0.2897, allocations: 12 kB / 1.063 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.654e-05/0.2898, allocations: 27.42 kB / 1.064 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of SimCode: time 4.21e-07/0.2898, allocations: 0 / 1.064 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0121/0.3019, allocations: 2.527 MB / 1.066 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/0.3021, allocations: 196.1 kB / 1.066 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/2.05, allocations: 3.5 kB / 1.066 GB, free: 9.426 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > 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