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.00189/0.00189, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002283/0.002283, allocations: 215.3 kB / 23.03 MB, free: 4.949 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.298/3.298, allocations: 0.5003 GB / 0.8062 GB, free: 28.34 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="cs",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.002191/0.002191, allocations: 63.38 kB / 1.17 GB, free: 19.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4384/0.4406, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.004082/0.4447, allocations: 1.759 MB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001728/0.4464, allocations: 0.6858 MB / 1.348 GB, free: 13.51 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.4465, allocations: 3.938 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.007e-05/0.4466, allocations: 7.875 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.4467, allocations: 23.78 kB / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008178/0.4475, allocations: 190.3 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002931/0.4478, allocations: 131.5 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.448, allocations: 41.83 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002604/0.4483, allocations: 63.83 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.4484, allocations: 51.75 kB / 1.348 GB, free: 13 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.512e-05/0.4484, allocations: 12 kB / 1.348 GB, free: 12.99 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.4486, allocations: 47.97 kB / 1.348 GB, free: 12.95 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.718e-05/0.4486, allocations: 27.92 kB / 1.348 GB, free: 12.92 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.323e-05/0.4487, allocations: 55.7 kB / 1.348 GB, free: 12.86 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.449, allocations: 159.4 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.449, allocations: 0 / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.987e-06/0.449, allocations: 4 kB / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.449, allocations: 3.938 kB / 1.348 GB, free: 12.7 MB / 1.045 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.0007685/0.4498, allocations: 369.6 kB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.4499, allocations: 12.03 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.156e-05/0.4499, allocations: 192 / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.956e-05/0.4499, allocations: 42.75 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.451, allocations: 132.6 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.4513, allocations: 150.8 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.4515, allocations: 118.9 kB / 1.349 GB, free: 11.8 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.4515, allocations: 8 kB / 1.349 GB, free: 11.8 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005745/0.4521, allocations: 224.8 kB / 1.349 GB, free: 11.56 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.4521, allocations: 0 / 1.349 GB, free: 11.56 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.4521, allocations: 4 kB / 1.349 GB, free: 11.55 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.4521, allocations: 4 kB / 1.349 GB, free: 11.55 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005839/0.4527, allocations: 155.8 kB / 1.35 GB, free: 11.4 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.4538, allocations: 436.6 kB / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009881/0.4548, allocations: 222.2 kB / 1.35 GB, free: 10.7 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002939/0.4551, allocations: 84.89 kB / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.4551, allocations: 3.938 kB / 1.35 GB, free: 10.61 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.4552, allocations: 34.56 kB / 1.35 GB, free: 10.57 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.4552, allocations: 0 / 1.35 GB, free: 10.57 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.001022/0.4562, allocations: 265.4 kB / 1.351 GB, free: 10.3 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.4562, allocations: 55.34 kB / 1.351 GB, free: 10.24 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.4564, allocations: 140.9 kB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.4564, allocations: 33.69 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.461e-05/0.4565, allocations: 108.2 kB / 1.351 GB, free: 9.941 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.4565, allocations: 15.86 kB / 1.351 GB, free: 9.926 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.886e-05/0.4566, allocations: 29.7 kB / 1.351 GB, free: 9.891 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.4568, allocations: 318.8 kB / 1.351 GB, free: 9.57 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002826/0.4571, allocations: 75.92 kB / 1.351 GB, free: 9.496 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000295/0.4573, allocations: 94.48 kB / 1.351 GB, free: 9.395 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000548/0.4579, allocations: 162.4 kB / 1.352 GB, free: 9.227 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.4579, allocations: 3.938 kB / 1.352 GB, free: 9.223 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006482/0.4585, allocations: 209.8 kB / 1.352 GB, free: 9.012 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.4586, allocations: 4 kB / 1.352 GB, free: 9.008 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4586, allocations: 0 / 1.352 GB, free: 9.008 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.4586, allocations: 0 / 1.352 GB, free: 9.008 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.4589, allocations: 39.95 kB / 1.352 GB, free: 8.969 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.4589, allocations: 4.141 kB / 1.352 GB, free: 8.965 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.459, allocations: 31.86 kB / 1.352 GB, free: 8.934 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.4591, allocations: 3.984 kB / 1.352 GB, free: 8.93 MB / 1.045 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.000125/0.4592, allocations: 121.8 kB / 1.352 GB, free: 8.801 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/0.4592, allocations: 15.89 kB / 1.352 GB, free: 8.785 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007096/0.4599, allocations: 202.2 kB / 1.352 GB, free: 8.578 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.4599, allocations: 4 kB / 1.352 GB, free: 8.574 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.46, allocations: 0 / 1.352 GB, free: 8.574 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.46, allocations: 0 / 1.352 GB, free: 8.574 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.4602, allocations: 197.4 kB / 1.352 GB, free: 8.336 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4602, allocations: 0 / 1.352 GB, free: 8.336 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/0.4604, allocations: 35.89 kB / 1.352 GB, free: 8.301 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.4604, allocations: 0 / 1.352 GB, free: 8.301 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.4605, allocations: 0 / 1.352 GB, free: 8.301 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4605, allocations: 0 / 1.352 GB, free: 8.301 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4605, allocations: 4 kB / 1.352 GB, free: 8.297 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006968/0.4612, allocations: 295.2 kB / 1.353 GB, free: 7.992 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.454e-05/0.4612, allocations: 7.953 kB / 1.353 GB, free: 7.984 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.4612, allocations: 7.984 kB / 1.353 GB, free: 7.977 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/0.4615, allocations: 31.95 kB / 1.353 GB, free: 7.945 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.4615, allocations: 0 / 1.353 GB, free: 7.945 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/0.4616, allocations: 11.98 kB / 1.353 GB, free: 7.934 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.132e-05/0.4616, allocations: 109.7 kB / 1.353 GB, free: 7.828 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4616, allocations: 0 / 1.353 GB, free: 7.828 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002658/0.4619, allocations: 27.89 kB / 1.353 GB, free: 7.801 MB / 1.045 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.001018/0.4629, allocations: 0.8217 MB / 1.354 GB, free: 6.953 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0006447/0.4636, allocations: 159.8 kB / 1.354 GB, free: 6.797 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4636, allocations: 128 / 1.354 GB, free: 6.797 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002989/0.4639, allocations: 83.86 kB / 1.354 GB, free: 6.715 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.4642, allocations: 11.98 kB / 1.354 GB, free: 6.703 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003166/0.4674, allocations: 1.846 MB / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.723e-05/0.4674, allocations: 85.19 kB / 1.356 GB, free: 4.668 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.496e-05/0.4675, allocations: 16 kB / 1.356 GB, free: 4.652 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.4677, allocations: 31.42 kB / 1.356 GB, free: 4.621 MB / 1.045 GB Notification: Performance of SimCode: time 6.71e-07/0.4677, allocations: 0 / 1.356 GB, free: 4.621 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02541/0.4931, allocations: 3.122 MB / 1.359 GB, free: 1.652 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.97, allocations: 13.44 kB / 1.359 GB, free: 1.645 MB / 1.045 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: 19.04335898498539]