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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 114.7 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002016/0.002016, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.887/2.887, allocations: 476.7 MB / 0.7629 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 71.88 kB / 1.107 GB, free: 5.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9711/0.9734, allocations: 168.7 MB / 1.272 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003263/0.9766, allocations: 1.801 MB / 1.273 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.9778, allocations: 0.6617 MB / 1.274 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.922e-05/0.9778, allocations: 0.9375 kB / 1.274 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.874e-05/0.9779, allocations: 13.83 kB / 1.274 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.056e-05/0.9779, allocations: 22.48 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005508/0.9785, allocations: 172.3 kB / 1.274 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.9787, allocations: 128.1 kB / 1.274 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.9788, allocations: 39.72 kB / 1.274 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.9789, allocations: 60.59 kB / 1.274 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.174e-05/0.979, allocations: 51.19 kB / 1.274 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.985e-05/0.9791, allocations: 9.906 kB / 1.274 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.9792, allocations: 44.47 kB / 1.274 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.247e-05/0.9792, allocations: 28.64 kB / 1.274 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.197e-05/0.9793, allocations: 55.78 kB / 1.275 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.9795, allocations: 146.7 kB / 1.275 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.9795, allocations: 1.984 kB / 1.275 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.082e-06/0.9795, allocations: 0 / 1.275 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.9795, allocations: 4 kB / 1.275 GB, free: 5.641 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.0005937/0.9801, allocations: 438.1 kB / 1.275 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.9802, allocations: 9.969 kB / 1.275 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.589e-05/0.9802, allocations: 42.58 kB / 1.275 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008208/0.981, allocations: 109.7 kB / 1.275 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.9812, allocations: 190 kB / 1.275 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.383e-05/0.9813, allocations: 73.59 kB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.9813, allocations: 9.812 kB / 1.276 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005537/0.9818, allocations: 170.5 kB / 1.276 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.9818, allocations: 6.031 kB / 1.276 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.9819, allocations: 5 kB / 1.276 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.9819, allocations: 5.203 kB / 1.276 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006501/0.9825, allocations: 155.1 kB / 1.276 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.9837, allocations: 484.2 kB / 1.276 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.9847, allocations: 214.2 kB / 1.276 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002969/0.985, allocations: 77.52 kB / 1.277 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.985, allocations: 10.31 kB / 1.277 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.9851, allocations: 38.14 kB / 1.277 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.953e-06/0.9851, allocations: 0 / 1.277 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.00115/0.9862, allocations: 261.8 kB / 1.277 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.9863, allocations: 52.31 kB / 1.277 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.9864, allocations: 136.3 kB / 1.277 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.9864, allocations: 26.55 kB / 1.277 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.704e-05/0.9865, allocations: 114.4 kB / 1.277 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.9865, allocations: 25 kB / 1.277 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.428e-05/0.9866, allocations: 24.03 kB / 1.277 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.411e-05/0.9867, allocations: 328.9 kB / 1.278 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/0.987, allocations: 68.38 kB / 1.278 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003744/0.9874, allocations: 98.05 kB / 1.278 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006513/0.988, allocations: 163.6 kB / 1.278 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.988, allocations: 1.094 kB / 1.278 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007574/0.9888, allocations: 204.4 kB / 1.278 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.9888, allocations: 8.453 kB / 1.278 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.9888, allocations: 8.625 kB / 1.278 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/0.9888, allocations: 1.375 kB / 1.278 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.9891, allocations: 37.66 kB / 1.278 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.9891, allocations: 5.75 kB / 1.278 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.9893, allocations: 27.28 kB / 1.278 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.9894, allocations: 2.469 kB / 1.278 GB, free: 3.32 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.0001194/0.9895, allocations: 122.3 kB / 1.278 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.116e-05/0.9895, allocations: 9.469 kB / 1.278 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008196/0.9904, allocations: 215.1 kB / 1.278 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.9904, allocations: 0.8438 kB / 1.278 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.9904, allocations: 0.6562 kB / 1.278 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.9904, allocations: 0.9375 kB / 1.278 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003414/0.9907, allocations: 240.7 kB / 1.279 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.9907, allocations: 0 / 1.279 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002443/0.991, allocations: 32.77 kB / 1.279 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.991, allocations: 0 / 1.279 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-05/0.991, allocations: 11.3 kB / 1.279 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.991, allocations: 0 / 1.279 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.991, allocations: 0.8438 kB / 1.279 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007526/0.9918, allocations: 286.1 kB / 1.279 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.387e-05/0.9918, allocations: 84.75 kB / 1.279 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.9918, allocations: 9.531 kB / 1.279 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003119/0.9921, allocations: 32.94 kB / 1.279 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.9922, allocations: 7.812 kB / 1.279 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.9922, allocations: 7.828 kB / 1.279 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.051e-05/0.9923, allocations: 108.1 kB / 1.279 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9923, allocations: 0 / 1.279 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000274/0.9926, allocations: 19.66 kB / 1.279 GB, free: 2.496 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.0009394/0.9935, allocations: 0.8208 MB / 1.28 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007129/0.9942, allocations: 162 kB / 1.28 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.9942, allocations: 1 kB / 1.28 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003201/0.9945, allocations: 80.09 kB / 1.28 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.9949, allocations: 11.77 kB / 1.28 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003304/0.9982, allocations: 1.842 MB / 1.282 GB, free: 16.33 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.9986, allocations: 0.7027 MB / 1.283 GB, free: 15.63 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001196/0.9987, allocations: 19.38 kB / 1.283 GB, free: 15.62 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.9988, allocations: 39.77 kB / 1.283 GB, free: 15.59 MB / 1.014 GB Notification: Performance of SimCode: time 1.663e-06/0.9988, allocations: 0 / 1.283 GB, free: 15.59 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02652/1.025, allocations: 2.751 MB / 1.286 GB, free: 15.16 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.138/9.163, allocations: 10.8 kB / 1.286 GB, free: 15.15 MB / 1.014 GB " [Timeout remaining time 291] (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 --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_2/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: 15.596036496019224]