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.00135/0.00135, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001641/0.001641, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.552/1.552, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.822/2.822, allocations: 476.7 MB / 0.7672 GB, free: 5.215 MB / 0.6231 GB " [Timeout remaining time 177] 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="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: 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.002041/0.002041, allocations: 79.88 kB / 1.112 GB, free: 1.539 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9235/0.9256, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003034/0.9286, allocations: 1.811 MB / 1.28 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.9298, allocations: 0.7301 MB / 1.281 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.709e-05/0.9299, allocations: 4 kB / 1.281 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.004e-05/0.9299, allocations: 15.86 kB / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.936e-05/0.93, allocations: 15.8 kB / 1.281 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005998/0.9306, allocations: 189.9 kB / 1.281 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.9308, allocations: 123.7 kB / 1.281 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.9309, allocations: 39.25 kB / 1.281 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.9311, allocations: 79.69 kB / 1.281 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.553e-05/0.9312, allocations: 43.78 kB / 1.281 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/0.9312, allocations: 8 kB / 1.281 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.9313, allocations: 59.94 kB / 1.281 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.737e-05/0.9314, allocations: 27.92 kB / 1.281 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.217e-05/0.9314, allocations: 59.64 kB / 1.281 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.9317, allocations: 155.4 kB / 1.282 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.9317, allocations: 0 / 1.282 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.11e-07/0.9317, allocations: 4 kB / 1.282 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.9317, allocations: 3.938 kB / 1.282 GB, free: 10.05 MB / 0.9825 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.0006281/0.9323, allocations: 442.8 kB / 1.282 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.9323, allocations: 8.031 kB / 1.282 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.883e-05/0.9324, allocations: 42.75 kB / 1.282 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.9334, allocations: 132.6 kB / 1.282 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.9337, allocations: 212.7 kB / 1.282 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.987e-05/0.9338, allocations: 71.7 kB / 1.282 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.9338, allocations: 8 kB / 1.282 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005491/0.9343, allocations: 169.4 kB / 1.283 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.9344, allocations: 0 / 1.283 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.9344, allocations: 8 kB / 1.283 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.9344, allocations: 0 / 1.283 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006488/0.935, allocations: 159.8 kB / 1.283 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.9361, allocations: 485.8 kB / 1.283 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.9372, allocations: 210.3 kB / 1.283 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000326/0.9375, allocations: 80.91 kB / 1.283 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.9376, allocations: 7.984 kB / 1.283 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.9376, allocations: 42.48 kB / 1.284 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.9376, allocations: 0 / 1.284 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.001124/0.9387, allocations: 261.4 kB / 1.284 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.9388, allocations: 51.41 kB / 1.284 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.9389, allocations: 141 kB / 1.284 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.587e-05/0.939, allocations: 33.7 kB / 1.284 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.216e-05/0.939, allocations: 112.1 kB / 1.284 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.9391, allocations: 27.8 kB / 1.284 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.9391, allocations: 21.7 kB / 1.284 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.9393, allocations: 322.8 kB / 1.284 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003253/0.9396, allocations: 71.92 kB / 1.285 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003372/0.94, allocations: 98.48 kB / 1.285 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000641/0.9406, allocations: 170.6 kB / 1.285 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.9406, allocations: 0 / 1.285 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007189/0.9413, allocations: 201.4 kB / 1.285 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.9413, allocations: 6.5 kB / 1.285 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.9413, allocations: 8.062 kB / 1.285 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.9413, allocations: 0 / 1.285 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.9416, allocations: 31.95 kB / 1.285 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.9416, allocations: 7.984 kB / 1.285 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.9418, allocations: 27.92 kB / 1.285 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.9418, allocations: 7.938 kB / 1.285 GB, free: 6.184 MB / 0.9825 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.0001119/0.942, allocations: 121.8 kB / 1.285 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/0.942, allocations: 7.953 kB / 1.285 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007693/0.9428, allocations: 198.2 kB / 1.285 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.9428, allocations: 15.92 kB / 1.285 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.9428, allocations: 0 / 1.285 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.9428, allocations: 0 / 1.285 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.9431, allocations: 238.2 kB / 1.286 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.9431, allocations: 0 / 1.286 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/0.9433, allocations: 39.88 kB / 1.286 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.9433, allocations: 0 / 1.286 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.9433, allocations: 3.984 kB / 1.286 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.9433, allocations: 0 / 1.286 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.9433, allocations: 4 kB / 1.286 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007351/0.9441, allocations: 287.5 kB / 1.286 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.388e-05/0.9441, allocations: 96.95 kB / 1.286 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.9441, allocations: 4 kB / 1.286 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003602/0.9445, allocations: 31.95 kB / 1.286 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.9445, allocations: 3.984 kB / 1.286 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.9445, allocations: 15.92 kB / 1.286 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.811e-05/0.9446, allocations: 106.1 kB / 1.286 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.9446, allocations: 0 / 1.286 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002604/0.9449, allocations: 20 kB / 1.286 GB, free: 4.91 MB / 0.9825 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.001088/0.946, allocations: 0.8299 MB / 1.287 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007231/0.9467, allocations: 163.8 kB / 1.287 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.9467, allocations: 0 / 1.287 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003407/0.947, allocations: 80.03 kB / 1.287 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.9473, allocations: 8 kB / 1.287 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/0.9506, allocations: 1.848 MB / 1.289 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.9509, allocations: 0.7002 MB / 1.29 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.921e-05/0.951, allocations: 16 kB / 1.29 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.9511, allocations: 35.41 kB / 1.29 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.9511, allocations: 0 / 1.29 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.9765, allocations: 2.825 MB / 1.293 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.224/9.201, allocations: 9.25 kB / 1.293 GB, free: 14.34 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Could not read variable smoMax.u1 in file Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv. Warning: Get data of variable smoMax.u1 from file Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv failed! Error: Could not read variable smoMax.u2 in file Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv. Warning: Get data of variable smoMax.u2 from file Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv failed! Error: Could not read variable smoMin.y in file Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv. Warning: Get data of variable smoMin.y from file Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.44327084813267]