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.001701/0.001701, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00146/0.00146, allocations: 217.5 kB / 22.25 MB, free: 5.121 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 8 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.423/3.423, allocations: 0.505 GB / 0.8101 GB, free: 22.07 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.002245/0.002245, allocations: 70.89 kB / 1.177 GB, free: 17.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3931, allocations: 180.2 MB / 1.353 GB, free: 8.465 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003034/0.3962, allocations: 1.823 MB / 1.355 GB, free: 6.629 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.3975, allocations: 0.7408 MB / 1.355 GB, free: 5.883 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.954e-05/0.3975, allocations: 4 kB / 1.355 GB, free: 5.879 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.585e-05/0.3976, allocations: 15.8 kB / 1.355 GB, free: 5.863 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.484e-05/0.3976, allocations: 11.81 kB / 1.355 GB, free: 5.852 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005833/0.3982, allocations: 191.1 kB / 1.356 GB, free: 5.668 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.3984, allocations: 119.7 kB / 1.356 GB, free: 5.551 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.3986, allocations: 45.75 kB / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.3987, allocations: 67.78 kB / 1.356 GB, free: 5.438 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.724e-05/0.3988, allocations: 51.77 kB / 1.356 GB, free: 5.387 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.3988, allocations: 12 kB / 1.356 GB, free: 5.375 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.399, allocations: 47.97 kB / 1.356 GB, free: 5.328 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.656e-05/0.399, allocations: 35.89 kB / 1.356 GB, free: 5.293 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.099e-05/0.3991, allocations: 55.66 kB / 1.356 GB, free: 5.238 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.3993, allocations: 159.4 kB / 1.356 GB, free: 5.082 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3993, allocations: 3.984 kB / 1.356 GB, free: 5.078 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3993, allocations: 0 / 1.356 GB, free: 5.078 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.3993, allocations: 0 / 1.356 GB, free: 5.078 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.0005871/0.3999, allocations: 369.7 kB / 1.357 GB, free: 4.688 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.4, allocations: 8.031 kB / 1.357 GB, free: 4.68 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.076e-05/0.4, allocations: 42.73 kB / 1.357 GB, free: 4.629 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009632/0.401, allocations: 128.7 kB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.4013, allocations: 152.3 kB / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.4014, allocations: 123.1 kB / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.4014, allocations: 4 kB / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005014/0.4019, allocations: 177.4 kB / 1.357 GB, free: 4.004 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.4019, allocations: 4 kB / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.4019, allocations: 0 / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.4019, allocations: 4 kB / 1.357 GB, free: 3.996 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005802/0.4025, allocations: 155.8 kB / 1.357 GB, free: 3.844 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.4036, allocations: 464.7 kB / 1.358 GB, free: 3.348 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.4046, allocations: 214.3 kB / 1.358 GB, free: 3.129 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002916/0.4049, allocations: 76.91 kB / 1.358 GB, free: 3.051 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.4049, allocations: 7.938 kB / 1.358 GB, free: 3.043 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.405, allocations: 38.5 kB / 1.358 GB, free: 2.996 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.405, allocations: 0 / 1.358 GB, free: 2.996 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0009827/0.4059, allocations: 269.4 kB / 1.358 GB, free: 2.727 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.406, allocations: 51.41 kB / 1.358 GB, free: 2.664 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.4061, allocations: 143.4 kB / 1.358 GB, free: 2.512 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.4062, allocations: 25.7 kB / 1.358 GB, free: 2.48 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.917e-05/0.4063, allocations: 112.2 kB / 1.359 GB, free: 2.367 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.4063, allocations: 19.86 kB / 1.359 GB, free: 2.348 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.323e-05/0.4063, allocations: 21.7 kB / 1.359 GB, free: 2.32 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4065, allocations: 326.8 kB / 1.359 GB, free: 1.992 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/0.4068, allocations: 76.16 kB / 1.359 GB, free: 1.918 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003046/0.4071, allocations: 98.42 kB / 1.359 GB, free: 1.812 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005501/0.4076, allocations: 166.4 kB / 1.359 GB, free: 1.641 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4076, allocations: 0 / 1.359 GB, free: 1.641 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006462/0.4083, allocations: 205.4 kB / 1.359 GB, free: 1.434 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.4083, allocations: 5.875 kB / 1.359 GB, free: 1.43 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.4083, allocations: 4 kB / 1.359 GB, free: 1.426 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.4083, allocations: 3.984 kB / 1.359 GB, free: 1.422 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.4086, allocations: 43.95 kB / 1.36 GB, free: 1.379 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.4086, allocations: 0 / 1.36 GB, free: 1.379 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.4088, allocations: 31.86 kB / 1.36 GB, free: 1.348 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.4088, allocations: 7.984 kB / 1.36 GB, free: 1.34 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.0001043/0.4089, allocations: 121.7 kB / 1.36 GB, free: 1.211 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.124e-05/0.4089, allocations: 7.953 kB / 1.36 GB, free: 1.203 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006853/0.4096, allocations: 206.2 kB / 1.36 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.4096, allocations: 4 kB / 1.36 GB, free: 0.9922 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4096, allocations: 0 / 1.36 GB, free: 0.9922 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4096, allocations: 0 / 1.36 GB, free: 0.9922 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002629/0.4099, allocations: 217.4 kB / 1.36 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4099, allocations: 0 / 1.36 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/0.4101, allocations: 31.95 kB / 1.36 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.4101, allocations: 0 / 1.36 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.4101, allocations: 7.984 kB / 1.36 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.4101, allocations: 0 / 1.36 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4102, allocations: 128 / 1.36 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006742/0.4108, allocations: 295.2 kB / 1.36 GB, free: 400 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.643e-05/0.4108, allocations: 7.953 kB / 1.36 GB, free: 392 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.4109, allocations: 4 kB / 1.36 GB, free: 388 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002872/0.4111, allocations: 35.89 kB / 1.36 GB, free: 352 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.4112, allocations: 3.984 kB / 1.36 GB, free: 348 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.4112, allocations: 11.94 kB / 1.36 GB, free: 336 kB / 1.045 GB Notification: Performance of sorting global known variables: time 8.444e-05/0.4113, allocations: 113.5 kB / 1.361 GB, free: 224 kB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4113, allocations: 0 / 1.361 GB, free: 224 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002618/0.4116, allocations: 23.94 kB / 1.361 GB, free: 200 kB / 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.001012/0.4126, allocations: 0.8138 MB / 1.361 GB, free: 15.36 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006254/0.4132, allocations: 163.8 kB / 1.362 GB, free: 15.2 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4132, allocations: 0 / 1.362 GB, free: 15.2 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000287/0.4135, allocations: 83.84 kB / 1.362 GB, free: 15.11 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.4138, allocations: 8 kB / 1.362 GB, free: 15.11 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003015/0.4168, allocations: 1.85 MB / 1.363 GB, free: 13.17 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.4171, allocations: 0.7041 MB / 1.364 GB, free: 12.44 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.621e-05/0.4172, allocations: 16 kB / 1.364 GB, free: 12.42 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.561e-05/0.4173, allocations: 31.42 kB / 1.364 GB, free: 12.39 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.4173, allocations: 0 / 1.364 GB, free: 12.39 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02947/0.4467, allocations: 2.97 MB / 1.367 GB, free: 9.551 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.33, allocations: 7.516 kB / 1.367 GB, free: 9.551 MB / 1.061 GB " [Timeout remaining time 289] (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: 18.664488196000093]