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.001713/0.001713, allocations: 114.7 kB / 17.16 MB, free: 5.895 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.002397/0.002397, allocations: 210.3 kB / 20.13 MB, free: 2.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.527/1.527, allocations: 230.6 MB / 253.5 MB, free: 15.12 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 2.983/2.983, allocations: 0.49 GB / 0.7923 GB, free: 1.289 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_12_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.002093/0.002093, allocations: 79.88 kB / 1.15 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.163/1.166, allocations: 176.1 MB / 1.321 GB, free: 24.78 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002861/1.168, allocations: 1.805 MB / 1.323 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001095/1.169, allocations: 0.7308 MB / 1.324 GB, free: 23.01 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.025e-05/1.17, allocations: 2.781 kB / 1.324 GB, free: 23.01 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.967e-05/1.17, allocations: 15.14 kB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.714e-05/1.17, allocations: 18.64 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005843/1.17, allocations: 182.9 kB / 1.324 GB, free: 22.89 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001828/1.17, allocations: 124.4 kB / 1.324 GB, free: 22.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/1.171, allocations: 41.33 kB / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/1.171, allocations: 70.89 kB / 1.324 GB, free: 22.79 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.537e-05/1.171, allocations: 47.81 kB / 1.324 GB, free: 22.76 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/1.171, allocations: 8.938 kB / 1.324 GB, free: 22.76 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/1.171, allocations: 59.09 kB / 1.325 GB, free: 22.74 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.857e-05/1.171, allocations: 28.33 kB / 1.325 GB, free: 22.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.012e-05/1.171, allocations: 61.78 kB / 1.325 GB, free: 22.69 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002199/1.171, allocations: 155.3 kB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/1.171, allocations: 0 / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.264e-06/1.171, allocations: 0 / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.124e-06/1.171, allocations: 0 / 1.325 GB, free: 22.62 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.0006066/1.172, allocations: 448.8 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/1.172, allocations: 16.05 kB / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.484e-05/1.172, allocations: 2.969 kB / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.29e-05/1.172, allocations: 40.89 kB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/1.173, allocations: 131.4 kB / 1.325 GB, free: 22.14 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/1.173, allocations: 210.3 kB / 1.326 GB, free: 21.93 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.632e-05/1.173, allocations: 68.56 kB / 1.326 GB, free: 21.86 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/1.173, allocations: 9.906 kB / 1.326 GB, free: 21.85 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005216/1.174, allocations: 171 kB / 1.326 GB, free: 21.79 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/1.174, allocations: 4 kB / 1.326 GB, free: 21.78 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/1.174, allocations: 3.375 kB / 1.326 GB, free: 21.78 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/1.174, allocations: 2.969 kB / 1.326 GB, free: 21.78 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006152/1.175, allocations: 152.5 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/1.176, allocations: 491.9 kB / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/1.177, allocations: 213.7 kB / 1.327 GB, free: 21.33 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003002/1.177, allocations: 85.12 kB / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/1.177, allocations: 10.73 kB / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/1.177, allocations: 34.56 kB / 1.327 GB, free: 21.25 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/1.177, allocations: 0 / 1.327 GB, free: 21.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0011/1.178, allocations: 264.3 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/1.178, allocations: 52.03 kB / 1.327 GB, free: 21.11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/1.178, allocations: 149.7 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/1.178, allocations: 26.23 kB / 1.327 GB, free: 20.95 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/1.178, allocations: 113.2 kB / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/1.178, allocations: 22.17 kB / 1.327 GB, free: 20.83 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.288e-05/1.179, allocations: 26.92 kB / 1.327 GB, free: 20.81 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.495e-05/1.179, allocations: 322.2 kB / 1.328 GB, free: 20.49 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/1.179, allocations: 76.19 kB / 1.328 GB, free: 20.47 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003406/1.179, allocations: 94.41 kB / 1.328 GB, free: 20.43 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007/1.18, allocations: 161.3 kB / 1.328 GB, free: 20.37 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/1.18, allocations: 3.938 kB / 1.328 GB, free: 20.37 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007737/1.181, allocations: 206 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/1.181, allocations: 8.188 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/1.181, allocations: 5.016 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/1.181, allocations: 1.188 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/1.181, allocations: 40.55 kB / 1.328 GB, free: 20.28 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/1.181, allocations: 4.453 kB / 1.328 GB, free: 20.28 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/1.181, allocations: 23.09 kB / 1.328 GB, free: 20.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/1.181, allocations: 6.609 kB / 1.328 GB, free: 20.27 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 9.659e-05/1.181, allocations: 122.4 kB / 1.328 GB, free: 20.15 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/1.181, allocations: 8.641 kB / 1.328 GB, free: 20.14 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008053/1.182, allocations: 207.2 kB / 1.329 GB, free: 20.06 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/1.182, allocations: 0.9375 kB / 1.329 GB, free: 20.06 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/1.182, allocations: 1 kB / 1.329 GB, free: 20.06 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/1.182, allocations: 0 / 1.329 GB, free: 20.06 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002694/1.183, allocations: 235.8 kB / 1.329 GB, free: 19.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.183, allocations: 0.5938 kB / 1.329 GB, free: 19.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/1.183, allocations: 34.22 kB / 1.329 GB, free: 19.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/1.183, allocations: 0 / 1.329 GB, free: 19.84 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/1.183, allocations: 2.766 kB / 1.329 GB, free: 19.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/1.183, allocations: 0.5156 kB / 1.329 GB, free: 19.84 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/1.183, allocations: 1.438 kB / 1.329 GB, free: 19.84 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008219/1.184, allocations: 297.4 kB / 1.329 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.414e-05/1.184, allocations: 92.27 kB / 1.329 GB, free: 19.55 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/1.184, allocations: 1.812 kB / 1.329 GB, free: 19.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003539/1.184, allocations: 36.53 kB / 1.329 GB, free: 19.54 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/1.184, allocations: 4.969 kB / 1.329 GB, free: 19.54 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/1.184, allocations: 7.312 kB / 1.329 GB, free: 19.54 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.516e-05/1.184, allocations: 109.4 kB / 1.329 GB, free: 19.46 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.184, allocations: 0 / 1.329 GB, free: 19.46 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002784/1.185, allocations: 23.31 kB / 1.329 GB, free: 19.46 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.0009949/1.186, allocations: 0.824 MB / 1.33 GB, free: 18.75 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008118/1.186, allocations: 162.5 kB / 1.33 GB, free: 18.71 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.186, allocations: 4.656 kB / 1.33 GB, free: 18.71 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000374/1.187, allocations: 82.95 kB / 1.33 GB, free: 18.69 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/1.187, allocations: 9.75 kB / 1.33 GB, free: 18.69 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003391/1.19, allocations: 1.848 MB / 1.332 GB, free: 17.29 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/1.191, allocations: 0.704 MB / 1.333 GB, free: 16.59 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.658e-05/1.191, allocations: 20.58 kB / 1.333 GB, free: 16.58 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.536e-05/1.191, allocations: 32.73 kB / 1.333 GB, free: 16.56 MB / 1.061 GB Notification: Performance of SimCode: time 1.092e-06/1.191, allocations: 3.938 kB / 1.333 GB, free: 16.55 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/1.212, allocations: 2.853 MB / 1.336 GB, free: 16.07 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.412/9.624, allocations: 4.531 kB / 1.336 GB, free: 16.07 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.445550079050008]