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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 214.6 kB / 22.25 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.538/1.538, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.551/3.551, allocations: 0.5107 GB / 0.8158 GB, free: 17.88 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 67.34 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3788, allocations: 181.9 MB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.00319/0.382, allocations: 1.761 MB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.3835, allocations: 0.6946 MB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.181e-05/0.3836, allocations: 3.938 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.069e-05/0.3836, allocations: 11.86 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.674e-05/0.3837, allocations: 15.81 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006777/0.3844, allocations: 186.6 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.3846, allocations: 131.5 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.3848, allocations: 41.77 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.385, allocations: 63.83 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.551e-05/0.385, allocations: 43.77 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.967e-05/0.3851, allocations: 8 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.3852, allocations: 47.97 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.488e-05/0.3853, allocations: 31.89 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.305e-05/0.3853, allocations: 51.73 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.3856, allocations: 167.3 kB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3856, allocations: 0 / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.314e-06/0.3856, allocations: 0 / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.3856, allocations: 0 / 1.367 GB, free: 10.87 MB / 1.061 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.0006824/0.3863, allocations: 365.7 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.3863, allocations: 8.031 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.328e-05/0.3864, allocations: 42.73 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.3874, allocations: 132.7 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.3877, allocations: 154.8 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.3879, allocations: 123.1 kB / 1.367 GB, free: 9.973 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.3879, allocations: 8 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005763/0.3885, allocations: 227.3 kB / 1.368 GB, free: 9.727 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3885, allocations: 0 / 1.368 GB, free: 9.727 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.3885, allocations: 7.984 kB / 1.368 GB, free: 9.719 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.3885, allocations: 4 kB / 1.368 GB, free: 9.715 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006376/0.3891, allocations: 151.8 kB / 1.368 GB, free: 9.566 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.3903, allocations: 432.8 kB / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.3914, allocations: 222.2 kB / 1.368 GB, free: 8.875 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003158/0.3917, allocations: 76.91 kB / 1.368 GB, free: 8.797 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.3917, allocations: 11.94 kB / 1.368 GB, free: 8.785 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.3917, allocations: 34.5 kB / 1.368 GB, free: 8.742 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.3917, allocations: 0 / 1.368 GB, free: 8.742 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.001078/0.3928, allocations: 261.4 kB / 1.369 GB, free: 8.48 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.3929, allocations: 55.34 kB / 1.369 GB, free: 8.414 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.393, allocations: 144.7 kB / 1.369 GB, free: 8.262 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.393, allocations: 29.7 kB / 1.369 GB, free: 8.227 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.924e-05/0.3931, allocations: 112.2 kB / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.3931, allocations: 11.91 kB / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.581e-05/0.3932, allocations: 25.7 kB / 1.369 GB, free: 8.07 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.3934, allocations: 322.8 kB / 1.369 GB, free: 7.746 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003235/0.3937, allocations: 75.92 kB / 1.369 GB, free: 7.672 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003466/0.394, allocations: 98.47 kB / 1.37 GB, free: 7.566 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006209/0.3947, allocations: 162.4 kB / 1.37 GB, free: 7.398 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3947, allocations: 0 / 1.37 GB, free: 7.398 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007186/0.3954, allocations: 213.4 kB / 1.37 GB, free: 7.184 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.3954, allocations: 4 kB / 1.37 GB, free: 7.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3954, allocations: 0 / 1.37 GB, free: 7.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.3954, allocations: 4 kB / 1.37 GB, free: 7.176 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/0.3957, allocations: 36.27 kB / 1.37 GB, free: 7.141 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3957, allocations: 0 / 1.37 GB, free: 7.141 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.3959, allocations: 35.89 kB / 1.37 GB, free: 7.105 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.3959, allocations: 0 / 1.37 GB, free: 7.105 MB / 1.061 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.0001152/0.3961, allocations: 125.8 kB / 1.37 GB, free: 6.973 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.3961, allocations: 7.953 kB / 1.37 GB, free: 6.965 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007722/0.3969, allocations: 206.1 kB / 1.37 GB, free: 6.754 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3969, allocations: 4 kB / 1.37 GB, free: 6.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.3969, allocations: 0 / 1.37 GB, free: 6.75 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.3969, allocations: 7.984 kB / 1.37 GB, free: 6.742 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.3972, allocations: 189.4 kB / 1.371 GB, free: 6.512 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3972, allocations: 0 / 1.371 GB, free: 6.512 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.3974, allocations: 35.89 kB / 1.371 GB, free: 6.477 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.3974, allocations: 0 / 1.371 GB, free: 6.477 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.3974, allocations: 3.984 kB / 1.371 GB, free: 6.473 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3974, allocations: 0 / 1.371 GB, free: 6.473 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3974, allocations: 0 / 1.371 GB, free: 6.473 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007819/0.3982, allocations: 299.2 kB / 1.371 GB, free: 6.164 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.779e-05/0.3982, allocations: 3.953 kB / 1.371 GB, free: 6.16 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.3983, allocations: 4 kB / 1.371 GB, free: 6.156 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003065/0.3986, allocations: 31.95 kB / 1.371 GB, free: 6.125 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.3986, allocations: 3.984 kB / 1.371 GB, free: 6.121 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.3986, allocations: 8 kB / 1.371 GB, free: 6.113 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.303e-05/0.3987, allocations: 113.2 kB / 1.371 GB, free: 6.004 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3987, allocations: 4 kB / 1.371 GB, free: 6 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002753/0.399, allocations: 23.89 kB / 1.371 GB, free: 5.977 MB / 1.061 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.001138/0.4001, allocations: 0.8177 MB / 1.372 GB, free: 5.133 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007251/0.4009, allocations: 164 kB / 1.372 GB, free: 4.973 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4009, allocations: 128 / 1.372 GB, free: 4.973 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003276/0.4012, allocations: 87.84 kB / 1.372 GB, free: 4.887 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.4015, allocations: 10.11 kB / 1.372 GB, free: 4.879 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003367/0.4049, allocations: 1.848 MB / 1.374 GB, free: 2.941 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.405, allocations: 85.19 kB / 1.374 GB, free: 2.84 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001212/0.4051, allocations: 19.98 kB / 1.374 GB, free: 2.82 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.939e-05/0.4052, allocations: 35.41 kB / 1.374 GB, free: 2.785 MB / 1.061 GB Notification: Performance of SimCode: time 6.91e-07/0.4052, allocations: 0 / 1.374 GB, free: 2.785 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03049/0.4357, allocations: 3.449 MB / 1.377 GB, free: 15.48 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.77, allocations: 13.08 kB / 1.377 GB, free: 15.47 MB / 1.076 GB " [Timeout remaining time 288] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.999736863188446]