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: "" <> 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.001305/0.001305, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.697/2.697, allocations: 461.9 MB / 0.7347 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 69.52 kB / 0.8992 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2989, allocations: 157.4 MB / 1.053 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002907/0.3019, allocations: 1.773 MB / 1.055 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009689/0.3028, allocations: 0.6781 MB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.161e-05/0.3029, allocations: 4 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.739e-05/0.303, allocations: 11.86 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.04e-05/0.303, allocations: 19.73 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004813/0.3035, allocations: 167.1 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.3036, allocations: 127.6 kB / 1.056 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.3038, allocations: 45.09 kB / 1.056 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.3039, allocations: 59.83 kB / 1.056 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.232e-05/0.304, allocations: 47.77 kB / 1.056 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.304, allocations: 8 kB / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.755e-05/0.3041, allocations: 51.97 kB / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.375e-05/0.3041, allocations: 27.91 kB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.713e-05/0.3042, allocations: 59.64 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.3044, allocations: 143.8 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3044, allocations: 4 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3044, allocations: 4 kB / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.3044, allocations: 0 / 1.056 GB, free: 5.023 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.000551/0.305, allocations: 431.1 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.305, allocations: 12.62 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.21e-05/0.3051, allocations: 42.69 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008201/0.3059, allocations: 112.6 kB / 1.057 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.306, allocations: 180.2 kB / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.328e-05/0.3061, allocations: 63.97 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.3061, allocations: 8.375 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004786/0.3066, allocations: 177.4 kB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.3066, allocations: 0 / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.3067, allocations: 7.922 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3067, allocations: 0 / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005988/0.3073, allocations: 163.8 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009852/0.3083, allocations: 481.9 kB / 1.058 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009988/0.3093, allocations: 214.3 kB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002985/0.3096, allocations: 84.89 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.3096, allocations: 4 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.3096, allocations: 34.56 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.3096, allocations: 0 / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0009882/0.3106, allocations: 269.4 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.3107, allocations: 51.41 kB / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.3108, allocations: 135.2 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.3108, allocations: 25.7 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.699e-05/0.3109, allocations: 120 kB / 1.059 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.3109, allocations: 19.73 kB / 1.059 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-05/0.3109, allocations: 21.72 kB / 1.059 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.121e-05/0.311, allocations: 326.8 kB / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002985/0.3113, allocations: 67.92 kB / 1.059 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003069/0.3117, allocations: 94.48 kB / 1.059 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005813/0.3123, allocations: 162.6 kB / 1.059 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3123, allocations: 4 kB / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006747/0.3129, allocations: 209.4 kB / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.313, allocations: 6.031 kB / 1.059 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.313, allocations: 3.938 kB / 1.059 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.313, allocations: 0 / 1.059 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.3133, allocations: 44 kB / 1.059 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3133, allocations: 3.938 kB / 1.059 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.3135, allocations: 23.88 kB / 1.059 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.3135, allocations: 4 kB / 1.059 GB, free: 1.23 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 8.552e-05/0.3136, allocations: 117.8 kB / 1.06 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/0.3136, allocations: 7.906 kB / 1.06 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007079/0.3143, allocations: 218.1 kB / 1.06 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3144, allocations: 0 / 1.06 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3144, allocations: 0 / 1.06 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3144, allocations: 0 / 1.06 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.3146, allocations: 238.1 kB / 1.06 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.3146, allocations: 0 / 1.06 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.3148, allocations: 39.88 kB / 1.06 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3149, allocations: 0 / 1.06 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.3149, allocations: 11.94 kB / 1.06 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3149, allocations: 0 / 1.06 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3149, allocations: 0 / 1.06 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006733/0.3156, allocations: 287.3 kB / 1.06 GB, free: 256 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.3156, allocations: 81.02 kB / 1.06 GB, free: 156 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.3156, allocations: 4.125 kB / 1.06 GB, free: 152 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003043/0.3159, allocations: 43.95 kB / 1.06 GB, free: 108 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.316, allocations: 3.984 kB / 1.06 GB, free: 104 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.316, allocations: 7.984 kB / 1.06 GB, free: 96 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.001e-05/0.3161, allocations: 109.1 kB / 1.061 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3161, allocations: 0 / 1.061 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000253/0.3164, allocations: 23.91 kB / 1.061 GB, free: 15.96 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.0009445/0.3173, allocations: 0.8176 MB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006613/0.318, allocations: 171.8 kB / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.318, allocations: 3.938 kB / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00031/0.3183, allocations: 79.91 kB / 1.062 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.3186, allocations: 8 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00289/0.3215, allocations: 1.831 MB / 1.063 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.3217, allocations: 0.7002 MB / 1.064 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.936e-05/0.3218, allocations: 15.98 kB / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.675e-05/0.3219, allocations: 31.42 kB / 1.064 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3219, allocations: 0 / 1.064 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9662/1.288, allocations: 2.713 MB / 1.067 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.826/9.114, allocations: 7.594 kB / 1.067 GB, free: 9.523 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