Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00217/0.00217, 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.00231/0.00231, allocations: 207.6 kB / 22.24 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.569/1.569, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.077/3.077, allocations: 476 MB / 0.7699 GB, free: 4.719 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_11_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.002161/0.002161, allocations: 63.94 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3464, allocations: 170 MB / 1.283 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002177/0.3486, allocations: 0.6091 MB / 1.283 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004856/0.3491, allocations: 147.6 kB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.78e-05/0.3491, allocations: 0 / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.478e-05/0.3492, allocations: 0 / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.988e-05/0.3492, allocations: 3.938 kB / 1.283 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.3495, allocations: 46.27 kB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.195e-05/0.3496, allocations: 11.98 kB / 1.283 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.846e-05/0.3496, allocations: 0 / 1.283 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.339e-05/0.3497, allocations: 12 kB / 1.283 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.882e-05/0.3498, allocations: 11.92 kB / 1.283 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.3498, allocations: 0 / 1.283 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.3499, allocations: 35.95 kB / 1.283 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.3499, allocations: 0 / 1.283 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.425e-05/0.3499, allocations: 7.938 kB / 1.283 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.3501, allocations: 35.45 kB / 1.283 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3501, allocations: 0 / 1.283 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3501, allocations: 0 / 1.283 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.3501, allocations: 0 / 1.283 GB, free: 11.48 MB / 0.9825 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.0004517/0.3505, allocations: 256 kB / 1.284 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.3506, allocations: 16.03 kB / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.363e-05/0.3506, allocations: 34.69 kB / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.3506, allocations: 8.828 kB / 1.284 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.3508, allocations: 110.5 kB / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.3508, allocations: 4.375 kB / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.3508, allocations: 4.375 kB / 1.284 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.3509, allocations: 67.95 kB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.351, allocations: 3.938 kB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.351, allocations: 0 / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.351, allocations: 3.938 kB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.661e-05/0.351, allocations: 19.98 kB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001824/0.3512, allocations: 120.8 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.3513, allocations: 50.56 kB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.755e-05/0.3514, allocations: 16.97 kB / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.048e-05/0.3514, allocations: 4 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.801e-05/0.3515, allocations: 38.56 kB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.3515, allocations: 0 / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.001319/0.3528, allocations: 418.8 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.3529, allocations: 51.41 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.836e-05/0.3529, allocations: 101.9 kB / 1.285 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.353, allocations: 25.7 kB / 1.285 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.353, allocations: 80.14 kB / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.713e-05/0.3531, allocations: 27.75 kB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.3531, allocations: 21.7 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3532, allocations: 314.8 kB / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.991e-05/0.3533, allocations: 11.98 kB / 1.285 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.743e-05/0.3533, allocations: 12 kB / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.986e-05/0.3534, allocations: 40.84 kB / 1.285 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3534, allocations: 0 / 1.285 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001199/0.3535, allocations: 69.69 kB / 1.285 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.3535, allocations: 8 kB / 1.285 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3535, allocations: 4 kB / 1.285 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3535, allocations: 0 / 1.285 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.787e-05/0.3536, allocations: 8 kB / 1.285 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3536, allocations: 4 kB / 1.285 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.615e-05/0.3536, allocations: 4.438 kB / 1.285 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.3536, allocations: 3.984 kB / 1.285 GB, free: 9.305 MB / 0.9825 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 0.000132/0.3538, allocations: 113.8 kB / 1.285 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.322e-05/0.3538, allocations: 3.938 kB / 1.285 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000185/0.354, allocations: 93.77 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.354, allocations: 4 kB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.738e-06/0.354, allocations: 0 / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.354, allocations: 4 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.3541, allocations: 140.7 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3541, allocations: 0 / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.093e-05/0.3542, allocations: 15.94 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3542, allocations: 0 / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.3542, allocations: 3.984 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3542, allocations: 80 / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3542, allocations: 7.922 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001997/0.3544, allocations: 125 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.757e-05/0.3544, allocations: 3.938 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.3545, allocations: 4.031 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.253e-05/0.3545, allocations: 0 / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.229e-05/0.3545, allocations: 11.98 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.3545, allocations: 0 / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.929e-05/0.3546, allocations: 75.28 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3546, allocations: 0 / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002208/0.3548, allocations: 31.94 kB / 1.286 GB, free: 8.602 MB / 0.9825 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.0006494/0.3554, allocations: 0.6866 MB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001183/0.3556, allocations: 31.98 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3556, allocations: 0 / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.768e-05/0.3556, allocations: 23.92 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.3558, allocations: 8 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.357, allocations: 1.188 MB / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.386e-05/0.3571, allocations: 67.34 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.264e-05/0.3571, allocations: 12.11 kB / 1.288 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.912e-05/0.3572, allocations: 15.44 kB / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3572, allocations: 0 / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03414/0.3913, allocations: 2.307 MB / 1.29 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.97, allocations: 11.06 kB / 1.29 GB, free: 4.273 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv. Warning: Get data of variable y_comp from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv failed! Error: Could not read variable ex in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv. Warning: Get data of variable ex from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv failed! Error: Could not read variable der(y_comp) in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv. Warning: Get data of variable der(y_comp) from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv failed! Error: Could not read variable der(y) in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv. Warning: Get data of variable der(y) from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.368667159229517]