Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001305/0.001305, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001639/0.001639, allocations: 218.7 kB / 22.26 MB, free: 5.125 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.569/1.569, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.428/3.428, allocations: 0.49 GB / 0.7951 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_12_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.002051/0.002051, allocations: 69.48 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4428/0.4449, allocations: 176.1 MB / 1.326 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003904/0.4488, allocations: 1.805 MB / 1.328 GB, free: 148 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001731/0.4505, allocations: 0.7558 MB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.4507, allocations: 4 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.607e-05/0.4507, allocations: 11.81 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.4508, allocations: 19.8 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008457/0.4517, allocations: 187.4 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000272/0.452, allocations: 123.7 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.4521, allocations: 45.81 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002181/0.4524, allocations: 71.7 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.4525, allocations: 51.77 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.143e-05/0.4525, allocations: 12 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.4527, allocations: 43.97 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.826e-05/0.4527, allocations: 31.91 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.457e-05/0.4528, allocations: 63.64 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003184/0.4531, allocations: 151.4 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4531, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4531, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.4531, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 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.0007055/0.4538, allocations: 373.7 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.4539, allocations: 8.031 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.531e-05/0.454, allocations: 38.75 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.455, allocations: 136.6 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.4553, allocations: 155.8 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000162/0.4554, allocations: 119.1 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.4555, allocations: 4 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005512/0.456, allocations: 183.2 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.456, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.456, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.4561, allocations: 4 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005953/0.4567, allocations: 155.8 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.4578, allocations: 457 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.4589, allocations: 214.3 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/0.4592, allocations: 76.91 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.4592, allocations: 11.98 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.618e-05/0.4593, allocations: 38.44 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.4593, allocations: 0 / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.001045/0.4603, allocations: 257.4 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.4604, allocations: 55.34 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.4605, allocations: 148.5 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.4605, allocations: 29.64 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.112e-05/0.4606, allocations: 116.2 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.4607, allocations: 19.86 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.576e-05/0.4607, allocations: 29.7 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.4609, allocations: 318.8 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002871/0.4612, allocations: 67.92 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/0.4615, allocations: 102.4 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005598/0.462, allocations: 158.4 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.462, allocations: 4 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006531/0.4627, allocations: 205.7 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.4627, allocations: 8 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.4627, allocations: 4 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.4627, allocations: 64 / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.463, allocations: 43.89 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.463, allocations: 3.984 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.4632, allocations: 27.86 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.4632, allocations: 4 kB / 1.333 GB, free: 10.84 MB / 1.029 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.4634, allocations: 122.3 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.4634, allocations: 11.94 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006991/0.4641, allocations: 210.1 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.4641, allocations: 4 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4641, allocations: 0 / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.4641, allocations: 4 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.4644, allocations: 205.2 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4644, allocations: 0 / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.4646, allocations: 39.94 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4646, allocations: 0 / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.4646, allocations: 4 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.4646, allocations: 0 / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4646, allocations: 0 / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00071/0.4653, allocations: 287.3 kB / 1.333 GB, free: 9.895 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.042e-05/0.4654, allocations: 7.906 kB / 1.333 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.4654, allocations: 11.88 kB / 1.333 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/0.4657, allocations: 35.95 kB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.4657, allocations: 3.984 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.4657, allocations: 7.984 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.676e-05/0.4658, allocations: 109 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4658, allocations: 0 / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002784/0.4661, allocations: 27.94 kB / 1.334 GB, free: 9.695 MB / 1.029 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.00113/0.4672, allocations: 0.8178 MB / 1.334 GB, free: 8.852 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006654/0.4679, allocations: 167.7 kB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4679, allocations: 0 / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000294/0.4682, allocations: 83.86 kB / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.4685, allocations: 12.12 kB / 1.335 GB, free: 8.594 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003258/0.4718, allocations: 1.833 MB / 1.336 GB, free: 6.672 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.4721, allocations: 0.7041 MB / 1.337 GB, free: 5.941 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.42e-05/0.4722, allocations: 23.73 kB / 1.337 GB, free: 5.918 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.693e-05/0.4723, allocations: 31.42 kB / 1.337 GB, free: 5.887 MB / 1.029 GB Notification: Performance of SimCode: time 7.12e-07/0.4723, allocations: 0 / 1.337 GB, free: 5.887 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03374/0.5061, allocations: 2.966 MB / 1.34 GB, free: 3.055 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.5, allocations: 2.188 kB / 1.34 GB, free: 3.055 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.940184098901227]