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.00086/0.0008601, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006105/0.006105, allocations: 169.5 kB / 16.27 MB, free: 6.336 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.319/1.319, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.544/2.544, allocations: 462.6 MB / 0.7364 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.0003647, allocations: 9.281 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3038, allocations: 159.6 MB / 1.059 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.001601/0.3054, allocations: 1.492 MB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000866/0.3063, allocations: 0.6468 MB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.22e-05/0.3063, allocations: 4 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.807e-05/0.3064, allocations: 7.922 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.86e-05/0.3064, allocations: 15.86 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000385/0.3068, allocations: 150.5 kB / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.3069, allocations: 119.7 kB / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.161e-05/0.307, allocations: 37.11 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.03e-05/0.3071, allocations: 55.83 kB / 1.061 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.59e-05/0.3072, allocations: 39.78 kB / 1.061 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.3072, allocations: 4 kB / 1.061 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.531e-05/0.3073, allocations: 39.97 kB / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.765e-05/0.3073, allocations: 27.89 kB / 1.061 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.959e-05/0.3074, allocations: 73.36 kB / 1.061 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.3076, allocations: 135.8 kB / 1.062 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.3076, allocations: 0 / 1.062 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.21e-07/0.3076, allocations: 0 / 1.062 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.906e-06/0.3076, allocations: 0 / 1.062 GB, free: 2.07 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.0004256/0.308, allocations: 411.2 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.308, allocations: 11.97 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.293e-05/0.3081, allocations: 46.73 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008237/0.3089, allocations: 144.6 kB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.309, allocations: 184.1 kB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.299e-05/0.3091, allocations: 67.95 kB / 1.062 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.3092, allocations: 8.375 kB / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00049/0.3096, allocations: 189.5 kB / 1.063 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-06/0.3097, allocations: 0 / 1.063 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.3097, allocations: 8 kB / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3097, allocations: 0 / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006146/0.3103, allocations: 195.8 kB / 1.063 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009582/0.3113, allocations: 0.4979 MB / 1.063 GB, free: 172 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.3123, allocations: 270.3 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/0.3127, allocations: 104.8 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.3127, allocations: 0 / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.3127, allocations: 34.55 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 8.41e-07/0.3127, allocations: 4 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.001004/0.3137, allocations: 317.4 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.3138, allocations: 51.41 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.974e-05/0.3139, allocations: 139.7 kB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.3139, allocations: 29.7 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.662e-05/0.3139, allocations: 112.1 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.314, allocations: 19.66 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/0.314, allocations: 17.72 kB / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.199e-05/0.3141, allocations: 326.8 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/0.3144, allocations: 83.92 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003105/0.3147, allocations: 118.5 kB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006117/0.3153, allocations: 202.6 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3153, allocations: 0 / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006725/0.316, allocations: 241.4 kB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.316, allocations: 5.719 kB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3161, allocations: 7.938 kB / 1.065 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.685e-06/0.3161, allocations: 0 / 1.065 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.3163, allocations: 47.95 kB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3163, allocations: 3.984 kB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.3165, allocations: 27.97 kB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.3166, allocations: 11.94 kB / 1.065 GB, free: 13.94 MB / 0.8262 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 8.223e-05/0.3166, allocations: 117.8 kB / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.636e-05/0.3167, allocations: 7.906 kB / 1.065 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007081/0.3174, allocations: 242.2 kB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3174, allocations: 3.984 kB / 1.066 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.3174, allocations: 0 / 1.066 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.3174, allocations: 0 / 1.066 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.3176, allocations: 238.1 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3176, allocations: 4 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/0.3179, allocations: 43.89 kB / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3179, allocations: 4 kB / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.3179, allocations: 11.92 kB / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3179, allocations: 0 / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3179, allocations: 0 / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006821/0.3186, allocations: 319.3 kB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.14e-05/0.3186, allocations: 84.92 kB / 1.066 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.3187, allocations: 8.125 kB / 1.066 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003133/0.319, allocations: 47.95 kB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-05/0.319, allocations: 7.984 kB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.319, allocations: 11.92 kB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.618e-05/0.3191, allocations: 110 kB / 1.067 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3191, allocations: 0 / 1.067 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002351/0.3194, allocations: 20 kB / 1.067 GB, free: 12.59 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.0009108/0.3203, allocations: 0.8567 MB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006548/0.3209, allocations: 203.8 kB / 1.068 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3209, allocations: 0 / 1.068 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003227/0.3213, allocations: 104 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.3215, allocations: 10.25 kB / 1.068 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/0.3244, allocations: 1.961 MB / 1.07 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.3246, allocations: 0.7043 MB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.561e-05/0.3247, allocations: 23.92 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.073e-05/0.3247, allocations: 27.42 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3247, allocations: 0 / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.795/4.12, allocations: 2.439 MB / 1.073 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/4.12, allocations: 194.3 kB / 1.073 GB, free: 6 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.081/6.201, allocations: 12 kB / 1.073 GB, free: 5.988 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