Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001746/0.001746, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002144/0.002144, allocations: 215.2 kB / 22.25 MB, free: 5.258 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.587/1.587, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.317/3.317, allocations: 0.49 GB / 0.7951 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_12_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.002056/0.002056, allocations: 62.94 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3986, allocations: 176.1 MB / 1.326 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002085/0.4007, allocations: 0.6087 MB / 1.326 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004992/0.4012, allocations: 147.9 kB / 1.327 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.543e-05/0.4013, allocations: 0 / 1.327 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.601e-05/0.4013, allocations: 11.88 kB / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 1.947e-05/0.4013, allocations: 0 / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003465/0.4016, allocations: 47.81 kB / 1.327 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.449e-05/0.4017, allocations: 8 kB / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.001e-05/0.4017, allocations: 4 kB / 1.327 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.416e-05/0.4018, allocations: 7.984 kB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.463e-05/0.4018, allocations: 7.938 kB / 1.327 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.4019, allocations: 4 kB / 1.327 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.475e-05/0.4019, allocations: 35.95 kB / 1.327 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.402, allocations: 3.984 kB / 1.327 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.024e-05/0.402, allocations: 8 kB / 1.327 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.4021, allocations: 40.11 kB / 1.327 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.4021, allocations: 0 / 1.327 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.253e-06/0.4021, allocations: 0 / 1.327 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.4021, allocations: 0 / 1.327 GB, free: 0.5234 MB / 1.014 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.0003964/0.4025, allocations: 254.3 kB / 1.327 GB, free: 248 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.4026, allocations: 8.031 kB / 1.327 GB, free: 240 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.253e-05/0.4026, allocations: 38.73 kB / 1.327 GB, free: 192 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.688e-05/0.4026, allocations: 4.891 kB / 1.327 GB, free: 188 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.4027, allocations: 102.5 kB / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.4027, allocations: 12.38 kB / 1.327 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.4028, allocations: 384 / 1.327 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.4029, allocations: 71.89 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.4029, allocations: 3.938 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.4029, allocations: 0 / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.4029, allocations: 4 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.655e-05/0.403, allocations: 15.98 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/0.4032, allocations: 124.8 kB / 1.327 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.4033, allocations: 46.56 kB / 1.327 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.608e-05/0.4033, allocations: 20.92 kB / 1.327 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.535e-05/0.4034, allocations: 11.98 kB / 1.327 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.4034, allocations: 38.55 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.4034, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.001274/0.4047, allocations: 415.1 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.4047, allocations: 51.41 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.08e-05/0.4048, allocations: 93.86 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.4048, allocations: 29.7 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.455e-05/0.4049, allocations: 80.14 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.612e-05/0.4049, allocations: 27.73 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.704e-05/0.405, allocations: 21.72 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.4051, allocations: 319 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.172e-05/0.4051, allocations: 12 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.706e-05/0.4052, allocations: 15.94 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.452e-05/0.4052, allocations: 41.06 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.4052, allocations: 0 / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001261/0.4054, allocations: 73.61 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.4054, allocations: 9.5 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.4054, allocations: 0 / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.4054, allocations: 0 / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.552e-05/0.4055, allocations: 19.92 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.4055, allocations: 0 / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.925e-05/0.4055, allocations: 12 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.4055, allocations: 0 / 1.329 GB, free: 14.34 MB / 1.029 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.652e-05/0.4056, allocations: 113.8 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/0.4056, allocations: 7.891 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001854/0.4058, allocations: 77.58 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.4058, allocations: 0 / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4058, allocations: 0 / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.4058, allocations: 0 / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.4059, allocations: 132.8 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4059, allocations: 4.188 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.386e-05/0.406, allocations: 27.86 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.406, allocations: 3.938 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.406, allocations: 4 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.406, allocations: 0 / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.406, allocations: 0 / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.4063, allocations: 117.1 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.011e-05/0.4063, allocations: 7.891 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.4063, allocations: 0 / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.501e-05/0.4063, allocations: 4 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.4063, allocations: 11.92 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.4064, allocations: 8.062 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.514e-05/0.4064, allocations: 75.28 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4064, allocations: 0 / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002344/0.4066, allocations: 31.92 kB / 1.329 GB, free: 13.63 MB / 1.029 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.0005984/0.4072, allocations: 0.6827 MB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.4073, allocations: 35.92 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4073, allocations: 0 / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.613e-05/0.4074, allocations: 16 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.4075, allocations: 12.16 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.4087, allocations: 1.204 MB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.58e-05/0.4088, allocations: 67.25 kB / 1.331 GB, free: 11.49 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.446e-05/0.4088, allocations: 4 kB / 1.331 GB, free: 11.48 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.4089, allocations: 15.44 kB / 1.331 GB, free: 11.47 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.4089, allocations: 0 / 1.331 GB, free: 11.47 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0313/0.4402, allocations: 2.343 MB / 1.334 GB, free: 9.258 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.36, allocations: 5.125 kB / 1.334 GB, free: 9.258 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_12_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv. Warning: Get data of variable y_comp from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv failed! Error: Could not read variable ex in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv. Warning: Get data of variable ex from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv failed! Error: Could not read variable der(y_comp) in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv. Warning: Get data of variable der(y_comp) from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv failed! Error: Could not read variable der(y) in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv. Warning: Get data of variable der(y) from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.626655735017266]