Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001763/0.001763, allocations: 103.1 kB / 16.45 MB, free: 6.449 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.002439/0.002439, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.561/1.561, allocations: 230.6 MB / 252.8 MB, free: 9.129 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.323/3.323, allocations: 0.505 GB / 0.8066 GB, free: 23.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_latest_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.002168/0.002168, allocations: 75.39 kB / 1.172 GB, free: 17.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4494/0.4516, allocations: 180.2 MB / 1.348 GB, free: 10 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003444/0.4551, allocations: 1.806 MB / 1.35 GB, free: 8.188 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001413/0.4565, allocations: 0.7369 MB / 1.35 GB, free: 7.445 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.879e-05/0.4566, allocations: 0 / 1.35 GB, free: 7.445 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.009e-05/0.4566, allocations: 15.8 kB / 1.35 GB, free: 7.43 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.544e-05/0.4567, allocations: 15.81 kB / 1.35 GB, free: 7.414 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006555/0.4573, allocations: 190.3 kB / 1.35 GB, free: 7.23 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.4576, allocations: 115.7 kB / 1.351 GB, free: 7.117 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.4577, allocations: 45.62 kB / 1.351 GB, free: 7.07 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.4579, allocations: 67.77 kB / 1.351 GB, free: 7.004 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.458, allocations: 55.7 kB / 1.351 GB, free: 6.949 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.458, allocations: 12 kB / 1.351 GB, free: 6.938 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.4582, allocations: 47.97 kB / 1.351 GB, free: 6.891 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.344e-05/0.4582, allocations: 31.89 kB / 1.351 GB, free: 6.859 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.81e-05/0.4583, allocations: 51.73 kB / 1.351 GB, free: 6.809 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.4585, allocations: 163.3 kB / 1.351 GB, free: 6.648 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4585, allocations: 3.938 kB / 1.351 GB, free: 6.645 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4586, allocations: 0 / 1.351 GB, free: 6.645 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.4586, allocations: 0 / 1.351 GB, free: 6.645 MB / 1.045 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.0007357/0.4593, allocations: 450.7 kB / 1.351 GB, free: 6.156 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.4593, allocations: 15.98 kB / 1.351 GB, free: 6.141 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.669e-05/0.4594, allocations: 42.73 kB / 1.352 GB, free: 6.09 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.4604, allocations: 120.7 kB / 1.352 GB, free: 5.973 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.4608, allocations: 220.6 kB / 1.352 GB, free: 5.719 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.4609, allocations: 67.7 kB / 1.352 GB, free: 5.641 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.4609, allocations: 8 kB / 1.352 GB, free: 5.633 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005604/0.4615, allocations: 173.4 kB / 1.352 GB, free: 5.457 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.4615, allocations: 0 / 1.352 GB, free: 5.457 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.4615, allocations: 4 kB / 1.352 GB, free: 5.453 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.4615, allocations: 4 kB / 1.352 GB, free: 5.449 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006564/0.4622, allocations: 155.8 kB / 1.352 GB, free: 5.297 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.4634, allocations: 489.7 kB / 1.353 GB, free: 4.77 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.4645, allocations: 214.3 kB / 1.353 GB, free: 4.551 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003373/0.4648, allocations: 80.89 kB / 1.353 GB, free: 4.469 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.4649, allocations: 3.984 kB / 1.353 GB, free: 4.465 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.4649, allocations: 46.44 kB / 1.353 GB, free: 4.41 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.4649, allocations: 0 / 1.353 GB, free: 4.41 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.00114/0.466, allocations: 265.4 kB / 1.353 GB, free: 4.145 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.4661, allocations: 55.41 kB / 1.353 GB, free: 4.078 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.4662, allocations: 141.2 kB / 1.353 GB, free: 3.93 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.45e-05/0.4663, allocations: 29.7 kB / 1.353 GB, free: 3.895 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.498e-05/0.4664, allocations: 104.3 kB / 1.354 GB, free: 3.789 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.181e-05/0.4664, allocations: 31.77 kB / 1.354 GB, free: 3.758 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.81e-05/0.4665, allocations: 21.7 kB / 1.354 GB, free: 3.73 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.4666, allocations: 318.8 kB / 1.354 GB, free: 3.41 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003283/0.467, allocations: 79.91 kB / 1.354 GB, free: 3.332 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003331/0.4673, allocations: 98.38 kB / 1.354 GB, free: 3.227 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006361/0.4679, allocations: 166.7 kB / 1.354 GB, free: 3.055 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4679, allocations: 0 / 1.354 GB, free: 3.055 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007646/0.4687, allocations: 209.4 kB / 1.354 GB, free: 2.844 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.4687, allocations: 6.5 kB / 1.354 GB, free: 2.84 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.4687, allocations: 0 / 1.354 GB, free: 2.84 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.4687, allocations: 4 kB / 1.354 GB, free: 2.836 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.469, allocations: 39.88 kB / 1.355 GB, free: 2.797 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.469, allocations: 8.062 kB / 1.355 GB, free: 2.789 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.4692, allocations: 23.92 kB / 1.355 GB, free: 2.766 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.4692, allocations: 8 kB / 1.355 GB, free: 2.758 MB / 1.045 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.0001359/0.4694, allocations: 125.7 kB / 1.355 GB, free: 2.625 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.625e-05/0.4694, allocations: 7.953 kB / 1.355 GB, free: 2.617 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000782/0.4702, allocations: 206.2 kB / 1.355 GB, free: 2.406 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.4702, allocations: 0 / 1.355 GB, free: 2.406 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.4702, allocations: 4 kB / 1.355 GB, free: 2.402 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.4702, allocations: 0 / 1.355 GB, free: 2.402 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.4705, allocations: 242.3 kB / 1.355 GB, free: 2.113 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4705, allocations: 0 / 1.355 GB, free: 2.113 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/0.4708, allocations: 39.89 kB / 1.355 GB, free: 2.074 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4708, allocations: 0 / 1.355 GB, free: 2.074 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.4708, allocations: 0 / 1.355 GB, free: 2.074 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4708, allocations: 0 / 1.355 GB, free: 2.074 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4708, allocations: 0 / 1.355 GB, free: 2.074 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007579/0.4715, allocations: 287.4 kB / 1.355 GB, free: 1.777 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.401e-05/0.4716, allocations: 85.12 kB / 1.356 GB, free: 1.676 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.4716, allocations: 8 kB / 1.356 GB, free: 1.668 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003069/0.4719, allocations: 27.95 kB / 1.356 GB, free: 1.641 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.472, allocations: 11.92 kB / 1.356 GB, free: 1.629 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.472, allocations: 11.98 kB / 1.356 GB, free: 1.617 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.36e-05/0.4721, allocations: 105.9 kB / 1.356 GB, free: 1.516 MB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4721, allocations: 0 / 1.356 GB, free: 1.516 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003966/0.4725, allocations: 24 kB / 1.356 GB, free: 1.492 MB / 1.045 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.001235/0.4737, allocations: 0.8216 MB / 1.357 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007584/0.4745, allocations: 167.7 kB / 1.357 GB, free: 492 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4745, allocations: 0 / 1.357 GB, free: 492 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000342/0.4748, allocations: 79.92 kB / 1.357 GB, free: 412 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.4752, allocations: 15.88 kB / 1.357 GB, free: 396 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003614/0.4788, allocations: 1.844 MB / 1.359 GB, free: 14.45 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.4791, allocations: 0.7041 MB / 1.359 GB, free: 13.72 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.965e-05/0.4792, allocations: 15.98 kB / 1.359 GB, free: 13.71 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.532e-05/0.4793, allocations: 35.42 kB / 1.359 GB, free: 13.67 MB / 1.061 GB Notification: Performance of SimCode: time 5.91e-07/0.4793, allocations: 0 / 1.359 GB, free: 13.67 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03023/0.5096, allocations: 2.815 MB / 1.362 GB, free: 10.95 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.264/8.773, allocations: 1.562 kB / 1.362 GB, free: 10.95 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv. Warning: Get data of variable smoMax.u1 from file Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv failed! Error: Could not read variable smoMax.u2 in file Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv. Warning: Get data of variable smoMax.u2 from file Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv failed! Error: Could not read variable smoMin.y in file Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv. Warning: Get data of variable smoMin.y from file Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.868098783073947]