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.001445/0.001445, allocations: 108.2 kB / 17.54 MB, free: 4.766 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.001445/0.001445, allocations: 182.7 kB / 20.71 MB, free: 1.609 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.301/1.301, allocations: 225.6 MB / 249.3 MB, free: 3.34 MB / 190.1 MB " [Timeout remaining time 179] 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.517/2.517, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] 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.001799/0.001799, allocations: 67.89 kB / 1.107 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7899/0.7917, allocations: 168.7 MB / 1.271 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002501/0.7942, allocations: 1.8 MB / 1.273 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009203/0.7951, allocations: 0.6607 MB / 1.274 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.657e-05/0.7951, allocations: 5.562 kB / 1.274 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.306e-05/0.7952, allocations: 10.36 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.726e-05/0.7952, allocations: 19.72 kB / 1.274 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004833/0.7957, allocations: 168.4 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.7959, allocations: 134.5 kB / 1.274 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.796, allocations: 36.45 kB / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.7961, allocations: 57.69 kB / 1.274 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.923e-05/0.7962, allocations: 46.69 kB / 1.274 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.7962, allocations: 14.56 kB / 1.274 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.7963, allocations: 46.48 kB / 1.274 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.022e-05/0.7964, allocations: 33.28 kB / 1.274 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.587e-05/0.7964, allocations: 53.62 kB / 1.274 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.7966, allocations: 150 kB / 1.275 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.7966, allocations: 0 / 1.275 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.022e-06/0.7966, allocations: 0 / 1.275 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.7966, allocations: 0 / 1.275 GB, free: 5.672 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.0005123/0.7971, allocations: 440.1 kB / 1.275 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.7972, allocations: 13.72 kB / 1.275 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.594e-05/0.7972, allocations: 43.67 kB / 1.275 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008189/0.798, allocations: 110.2 kB / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.662e-05/0.7981, allocations: 182.2 kB / 1.275 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.229e-05/0.7982, allocations: 65.3 kB / 1.275 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.7982, allocations: 14.91 kB / 1.275 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004798/0.7987, allocations: 175.8 kB / 1.276 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.7987, allocations: 0 / 1.276 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.7987, allocations: 5.094 kB / 1.276 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.7987, allocations: 1.719 kB / 1.276 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005871/0.7993, allocations: 159.2 kB / 1.276 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009242/0.8002, allocations: 488.2 kB / 1.276 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000969/0.8012, allocations: 213.8 kB / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/0.8015, allocations: 78.98 kB / 1.276 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.8015, allocations: 1.375 kB / 1.276 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.8015, allocations: 42.58 kB / 1.276 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.8015, allocations: 0 / 1.276 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.000969/0.8025, allocations: 259.9 kB / 1.277 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.997e-05/0.8025, allocations: 52.5 kB / 1.277 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.386e-05/0.8026, allocations: 141.1 kB / 1.277 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.8026, allocations: 26.58 kB / 1.277 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/0.8026, allocations: 114 kB / 1.277 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.8027, allocations: 24.86 kB / 1.277 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.8027, allocations: 23.5 kB / 1.277 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.295e-05/0.8028, allocations: 320.1 kB / 1.277 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.8031, allocations: 78.39 kB / 1.277 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.8034, allocations: 97.56 kB / 1.278 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005683/0.8039, allocations: 158.8 kB / 1.278 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.8039, allocations: 1.25 kB / 1.278 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006363/0.8046, allocations: 206.5 kB / 1.278 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.8046, allocations: 5.625 kB / 1.278 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.8046, allocations: 4.75 kB / 1.278 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.8046, allocations: 0.9062 kB / 1.278 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.8049, allocations: 40.12 kB / 1.278 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.8049, allocations: 1.5 kB / 1.278 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.805, allocations: 33.47 kB / 1.278 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.8051, allocations: 11.59 kB / 1.278 GB, free: 3.344 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 7.112e-05/0.8051, allocations: 125 kB / 1.278 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.129e-05/0.8052, allocations: 8.828 kB / 1.278 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006912/0.8059, allocations: 213.6 kB / 1.278 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.8059, allocations: 0.875 kB / 1.278 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.8059, allocations: 0.875 kB / 1.278 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.8059, allocations: 0.8438 kB / 1.278 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.8061, allocations: 236.8 kB / 1.279 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.8061, allocations: 0.9062 kB / 1.279 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.8063, allocations: 39.23 kB / 1.279 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.8063, allocations: 0.9688 kB / 1.279 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.8063, allocations: 6.125 kB / 1.279 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.8063, allocations: 0.6562 kB / 1.279 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.8063, allocations: 0.875 kB / 1.279 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006519/0.807, allocations: 282.1 kB / 1.279 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.287e-05/0.807, allocations: 88.38 kB / 1.279 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.807, allocations: 5.75 kB / 1.279 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002959/0.8073, allocations: 32.17 kB / 1.279 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.108e-05/0.8074, allocations: 4.578 kB / 1.279 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.8074, allocations: 8.062 kB / 1.279 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.033e-05/0.8074, allocations: 113.7 kB / 1.279 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8074, allocations: 0.7812 kB / 1.279 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002465/0.8077, allocations: 19.72 kB / 1.279 GB, free: 2.523 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.0008116/0.8085, allocations: 0.8164 MB / 1.28 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006676/0.8092, allocations: 170.4 kB / 1.28 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.8092, allocations: 0.9375 kB / 1.28 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003186/0.8095, allocations: 83.48 kB / 1.28 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.8098, allocations: 12.89 kB / 1.28 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002738/0.8125, allocations: 1.827 MB / 1.282 GB, free: 16.36 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.8128, allocations: 0.7023 MB / 1.283 GB, free: 15.66 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.125e-05/0.8129, allocations: 15.33 kB / 1.283 GB, free: 15.66 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.561e-05/0.813, allocations: 32.94 kB / 1.283 GB, free: 15.63 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/0.813, allocations: 7.938 kB / 1.283 GB, free: 15.62 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/0.8376, allocations: 2.763 MB / 1.285 GB, free: 15.18 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.067/7.905, allocations: 7.859 kB / 1.285 GB, free: 15.18 MB / 1.014 GB " [Timeout remaining time 292] (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: 13.317602907001856]