Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001623/0.001623, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.001891/0.001891, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.608/1.608, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.937/2.937, allocations: 476.7 MB / 0.7678 GB, free: 9.516 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_11_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.002055/0.002055, allocations: 71.89 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058/1.06, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003374/1.063, allocations: 1.8 MB / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001479/1.065, allocations: 0.7334 MB / 1.281 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.442e-05/1.065, allocations: 5.031 kB / 1.281 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.743e-05/1.065, allocations: 10.5 kB / 1.281 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.543e-05/1.065, allocations: 23.33 kB / 1.281 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006433/1.066, allocations: 180.2 kB / 1.282 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002552/1.066, allocations: 131.9 kB / 1.282 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/1.066, allocations: 41.12 kB / 1.282 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/1.066, allocations: 66.64 kB / 1.282 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/1.066, allocations: 50.66 kB / 1.282 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.879e-05/1.066, allocations: 10.66 kB / 1.282 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/1.067, allocations: 59.47 kB / 1.282 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.694e-05/1.067, allocations: 24.7 kB / 1.282 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.16e-05/1.067, allocations: 60.25 kB / 1.282 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002761/1.067, allocations: 154.9 kB / 1.282 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/1.067, allocations: 0 / 1.282 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.373e-06/1.067, allocations: 1.125 kB / 1.282 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.891e-06/1.067, allocations: 0 / 1.282 GB, free: 9.586 MB / 0.9981 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.0006948/1.068, allocations: 451.6 kB / 1.283 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/1.068, allocations: 14.59 kB / 1.283 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.223e-05/1.068, allocations: 2.297 kB / 1.283 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.829e-05/1.068, allocations: 39.3 kB / 1.283 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/1.069, allocations: 133.3 kB / 1.283 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/1.069, allocations: 216.5 kB / 1.283 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/1.069, allocations: 64.66 kB / 1.283 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/1.069, allocations: 13.59 kB / 1.283 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005935/1.07, allocations: 172.5 kB / 1.283 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/1.07, allocations: 0 / 1.283 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/1.07, allocations: 5.406 kB / 1.283 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/1.07, allocations: 1.688 kB / 1.283 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000679/1.071, allocations: 160 kB / 1.283 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/1.072, allocations: 481 kB / 1.284 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/1.073, allocations: 216.7 kB / 1.284 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003469/1.073, allocations: 83.11 kB / 1.284 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/1.073, allocations: 9.594 kB / 1.284 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/1.073, allocations: 32.45 kB / 1.284 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/1.073, allocations: 0 / 1.284 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.001135/1.075, allocations: 258.4 kB / 1.284 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/1.075, allocations: 57.2 kB / 1.285 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/1.075, allocations: 146.4 kB / 1.285 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/1.075, allocations: 25.7 kB / 1.285 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.517e-05/1.075, allocations: 114.9 kB / 1.285 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/1.075, allocations: 23.31 kB / 1.285 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.736e-05/1.075, allocations: 28.83 kB / 1.285 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001737/1.075, allocations: 324.4 kB / 1.285 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003269/1.076, allocations: 69.62 kB / 1.285 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/1.076, allocations: 96.36 kB / 1.285 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006626/1.077, allocations: 165.5 kB / 1.285 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/1.077, allocations: 3.938 kB / 1.285 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007707/1.077, allocations: 197.8 kB / 1.286 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/1.077, allocations: 6.344 kB / 1.286 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/1.077, allocations: 4.578 kB / 1.286 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/1.077, allocations: 1.5 kB / 1.286 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/1.078, allocations: 38.81 kB / 1.286 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/1.078, allocations: 2.188 kB / 1.286 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/1.078, allocations: 25.81 kB / 1.286 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/1.078, allocations: 4.219 kB / 1.286 GB, free: 7.254 MB / 0.9981 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.0001319/1.078, allocations: 122.4 kB / 1.286 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/1.078, allocations: 13.22 kB / 1.286 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007716/1.079, allocations: 205.7 kB / 1.286 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/1.079, allocations: 4 kB / 1.286 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/1.079, allocations: 5.094 kB / 1.286 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/1.079, allocations: 0 / 1.286 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003149/1.079, allocations: 241.4 kB / 1.286 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/1.079, allocations: 0 / 1.286 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/1.079, allocations: 32.38 kB / 1.286 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/1.079, allocations: 1.125 kB / 1.286 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/1.079, allocations: 6.469 kB / 1.286 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/1.079, allocations: 0.5156 kB / 1.286 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.079, allocations: 5.312 kB / 1.286 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007623/1.08, allocations: 286 kB / 1.287 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.844e-05/1.08, allocations: 95.83 kB / 1.287 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/1.08, allocations: 5.188 kB / 1.287 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000308/1.081, allocations: 28.7 kB / 1.287 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/1.081, allocations: 10.14 kB / 1.287 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/1.081, allocations: 6.984 kB / 1.287 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.037e-05/1.081, allocations: 108.4 kB / 1.287 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/1.081, allocations: 0 / 1.287 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002627/1.081, allocations: 23.25 kB / 1.287 GB, free: 6.426 MB / 0.9981 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.001103/1.082, allocations: 0.8255 MB / 1.288 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007077/1.083, allocations: 162 kB / 1.288 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.926e-05/1.083, allocations: 1.188 kB / 1.288 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003284/1.083, allocations: 83.52 kB / 1.288 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/1.083, allocations: 9.719 kB / 1.288 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003413/1.087, allocations: 1.863 MB / 1.29 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/1.087, allocations: 0.6995 MB / 1.29 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.79e-05/1.087, allocations: 16.98 kB / 1.29 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.62e-05/1.087, allocations: 31.61 kB / 1.29 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/1.087, allocations: 1.5 kB / 1.29 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/1.108, allocations: 2.862 MB / 1.293 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.573/9.681, allocations: 8.188 kB / 1.293 GB, free: 3.016 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 16.43559535604436]