Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.001348/0.001348, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001561/0.001561, allocations: 213.4 kB / 22.25 MB, free: 5.262 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 7.789 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.464/3.464, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",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.002073/0.002073, allocations: 66.2 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.4038, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001864/0.4057, allocations: 0.6108 MB / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004625/0.4061, allocations: 143.9 kB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.593e-05/0.4061, allocations: 3.938 kB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.286e-05/0.4062, allocations: 0 / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.392e-05/0.4062, allocations: 0 / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003081/0.4065, allocations: 39.84 kB / 1.364 GB, free: 13.26 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.144e-05/0.4065, allocations: 23.91 kB / 1.364 GB, free: 13.24 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.275e-05/0.4066, allocations: 4 kB / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.984e-05/0.4066, allocations: 7.984 kB / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.584e-05/0.4067, allocations: 7.938 kB / 1.364 GB, free: 13.22 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.4067, allocations: 8 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.658e-05/0.4068, allocations: 27.97 kB / 1.364 GB, free: 13.18 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.4068, allocations: 7.969 kB / 1.364 GB, free: 13.18 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.922e-05/0.4068, allocations: 4 kB / 1.364 GB, free: 13.17 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.4069, allocations: 36.11 kB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.4069, allocations: 0 / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4069, allocations: 0 / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.4069, allocations: 0 / 1.364 GB, free: 13.14 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003863/0.4073, allocations: 254.3 kB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.4074, allocations: 8.031 kB / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.784e-05/0.4074, allocations: 42.73 kB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.474e-05/0.4074, allocations: 4.938 kB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.4075, allocations: 106.5 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.4076, allocations: 4.375 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.4076, allocations: 384 / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.4077, allocations: 67.95 kB / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.4077, allocations: 3.938 kB / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.4077, allocations: 4 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.4077, allocations: 8 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.708e-05/0.4078, allocations: 11.98 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.4079, allocations: 132.8 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.408, allocations: 50.5 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.429e-05/0.4081, allocations: 16.98 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.976e-05/0.4082, allocations: 4 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.4082, allocations: 30.56 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.4082, allocations: 0 / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.001222/0.4094, allocations: 418.8 kB / 1.365 GB, free: 11.8 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.4095, allocations: 55.34 kB / 1.365 GB, free: 11.73 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.84e-05/0.4095, allocations: 89.86 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.4095, allocations: 29.7 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.163e-05/0.4096, allocations: 88.27 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.4096, allocations: 23.77 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.736e-05/0.4097, allocations: 21.72 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.4098, allocations: 318.8 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.145e-05/0.4099, allocations: 12 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.564e-05/0.4099, allocations: 8 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.218e-05/0.41, allocations: 41.5 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.41, allocations: 0 / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001237/0.4101, allocations: 81.52 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.4101, allocations: 4 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.4101, allocations: 7.938 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.4101, allocations: 4 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.226e-05/0.4102, allocations: 15.98 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.4102, allocations: 0 / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.508e-05/0.4102, allocations: 4 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.4102, allocations: 0 / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * 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 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 8.613e-05/0.4103, allocations: 114.9 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.319e-05/0.4103, allocations: 3.938 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001842/0.4105, allocations: 89.5 kB / 1.366 GB, free: 10.72 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.4105, allocations: 0 / 1.366 GB, free: 10.72 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.4105, allocations: 4 kB / 1.366 GB, free: 10.72 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4105, allocations: 0 / 1.366 GB, free: 10.72 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.4107, allocations: 132.7 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.4107, allocations: 0 / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.428e-05/0.4107, allocations: 23.92 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4107, allocations: 0 / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.4108, allocations: 4 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4108, allocations: 0 / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4108, allocations: 0 / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.411, allocations: 121 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.965e-06/0.411, allocations: 7.875 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.411, allocations: 8.062 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.461e-05/0.411, allocations: 4 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.526e-05/0.411, allocations: 3.984 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.411, allocations: 4 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.044e-05/0.4111, allocations: 75.28 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4111, allocations: 0 / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002314/0.4113, allocations: 35.92 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (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 Backend phase and start with SimCode phase: time 0.0006141/0.4119, allocations: 0.6748 MB / 1.367 GB, free: 9.543 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001298/0.4121, allocations: 44.12 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4121, allocations: 0 / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.011e-05/0.4121, allocations: 24.41 kB / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.4122, allocations: 0 / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.4135, allocations: 1.2 MB / 1.369 GB, free: 8.195 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.788e-05/0.4136, allocations: 63.34 kB / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.54e-05/0.4136, allocations: 4.062 kB / 1.369 GB, free: 8.109 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.668e-05/0.4137, allocations: 15.44 kB / 1.369 GB, free: 8.098 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/0.4137, allocations: 0 / 1.369 GB, free: 8.098 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03225/0.4459, allocations: 2.307 MB / 1.371 GB, free: 5.938 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.62, allocations: 3.938 kB / 1.371 GB, free: 5.934 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 800 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable y_comp in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv. Warning: Get data of variable y_comp from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv failed! Error: Could not read variable ex in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv. Warning: Get data of variable ex from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv failed! Error: Could not read variable der(y_comp) in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv. Warning: Get data of variable der(y_comp) from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv failed! Error: Could not read variable der(y) in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv. Warning: Get data of variable der(y) from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.011259455699474]