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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 109 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 189.9 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 225.6 MB / 249.3 MB, free: 3.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.541/2.541, allocations: 476.7 MB / 0.7628 GB, free: 15.3 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 75.89 kB / 1.107 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7835/0.7853, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0015/0.7868, allocations: 0.6148 MB / 1.272 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003551/0.7872, allocations: 154.3 kB / 1.272 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.501e-05/0.7872, allocations: 4.562 kB / 1.272 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.422e-05/0.7872, allocations: 0 / 1.272 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 1.625e-05/0.7872, allocations: 0 / 1.272 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.7875, allocations: 47.83 kB / 1.272 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.137e-05/0.7876, allocations: 18.7 kB / 1.272 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.192e-05/0.7876, allocations: 7.172 kB / 1.272 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.849e-05/0.7876, allocations: 8.438 kB / 1.272 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.042e-05/0.7877, allocations: 12.5 kB / 1.272 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.7877, allocations: 0.7188 kB / 1.272 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.153e-05/0.7878, allocations: 33.23 kB / 1.272 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.7878, allocations: 5.531 kB / 1.272 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.967e-05/0.7878, allocations: 7.781 kB / 1.272 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.717e-05/0.7879, allocations: 28.5 kB / 1.272 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.7879, allocations: 5.125 kB / 1.272 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7879, allocations: 7.938 kB / 1.272 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.7879, allocations: 0.9062 kB / 1.272 GB, free: 7.18 MB / 0.9981 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.0003027/0.7882, allocations: 333.7 kB / 1.273 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.7883, allocations: 9.438 kB / 1.273 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.241e-05/0.7883, allocations: 32.16 kB / 1.273 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.47e-05/0.7883, allocations: 3.406 kB / 1.273 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.047e-05/0.7884, allocations: 162.3 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.715e-06/0.7884, allocations: 1.875 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.7884, allocations: 10.38 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.7885, allocations: 42.67 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.7885, allocations: 8.531 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.7886, allocations: 0.6562 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.7886, allocations: 0.6562 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.395e-05/0.7886, allocations: 15.17 kB / 1.273 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001214/0.7887, allocations: 162.5 kB / 1.273 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.832e-05/0.7888, allocations: 47.66 kB / 1.273 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.206e-05/0.7888, allocations: 18.14 kB / 1.273 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.705e-05/0.7889, allocations: 80.69 kB / 1.273 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.35e-05/0.7889, allocations: 36.41 kB / 1.273 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.7889, allocations: 0 / 1.273 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.001063/0.79, allocations: 493.8 kB / 1.274 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.584e-05/0.79, allocations: 52.19 kB / 1.274 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.281e-05/0.79, allocations: 96.64 kB / 1.274 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.79, allocations: 30.48 kB / 1.274 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.608e-06/0.7901, allocations: 80.92 kB / 1.274 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.7901, allocations: 21.55 kB / 1.274 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.7901, allocations: 24.83 kB / 1.274 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.446e-05/0.7901, allocations: 313.7 kB / 1.274 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.715e-05/0.7902, allocations: 12.86 kB / 1.274 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.416e-05/0.7902, allocations: 13.17 kB / 1.274 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.936e-05/0.7903, allocations: 43.59 kB / 1.274 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.7903, allocations: 0.875 kB / 1.274 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.522e-05/0.7903, allocations: 74.94 kB / 1.274 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.7904, allocations: 9.375 kB / 1.274 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.7904, allocations: 1.484 kB / 1.274 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.7904, allocations: 0 / 1.274 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.269e-05/0.7904, allocations: 13.44 kB / 1.275 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.7905, allocations: 1.328 kB / 1.275 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.057e-05/0.7905, allocations: 1.844 kB / 1.275 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.7905, allocations: 5.438 kB / 1.275 GB, free: 5.008 MB / 0.9981 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 4.186e-05/0.7905, allocations: 116.8 kB / 1.275 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.199e-05/0.7905, allocations: 6.953 kB / 1.275 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.7907, allocations: 88.09 kB / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.7907, allocations: 0.8438 kB / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.7907, allocations: 1.531 kB / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.7907, allocations: 0.5156 kB / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.918e-05/0.7908, allocations: 162.8 kB / 1.275 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.7908, allocations: 4.969 kB / 1.275 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.512e-05/0.7908, allocations: 20.56 kB / 1.275 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.7908, allocations: 4.844 kB / 1.275 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.7908, allocations: 1.75 kB / 1.275 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.7908, allocations: 1 kB / 1.275 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.7908, allocations: 0 / 1.275 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.791, allocations: 114.8 kB / 1.275 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.565e-05/0.791, allocations: 87.67 kB / 1.275 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.791, allocations: 5.578 kB / 1.275 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.028e-05/0.7911, allocations: 0.9062 kB / 1.275 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/0.7911, allocations: 4.625 kB / 1.275 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.7911, allocations: 3.984 kB / 1.275 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.603e-05/0.7911, allocations: 80.12 kB / 1.275 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7911, allocations: 0 / 1.275 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000211/0.7913, allocations: 30.97 kB / 1.275 GB, free: 4.336 MB / 0.9981 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.0003674/0.7917, allocations: 0.6855 MB / 1.276 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.7918, allocations: 41.05 kB / 1.276 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.7918, allocations: 0 / 1.276 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.278e-05/0.7918, allocations: 20.41 kB / 1.276 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.792, allocations: 3.344 kB / 1.276 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000833/0.7928, allocations: 1.213 MB / 1.277 GB, free: 18.53 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.7931, allocations: 0.6852 MB / 1.278 GB, free: 17.83 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.984e-05/0.7931, allocations: 9.219 kB / 1.278 GB, free: 17.83 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.982e-05/0.7931, allocations: 15.69 kB / 1.278 GB, free: 17.82 MB / 1.014 GB Notification: Performance of SimCode: time 3.61e-07/0.7931, allocations: 3.938 kB / 1.278 GB, free: 17.81 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02397/0.8171, allocations: 1.788 MB / 1.28 GB, free: 17.42 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.039/7.856, allocations: 9.438 kB / 1.28 GB, free: 17.41 MB / 1.014 GB " [Timeout remaining time 292] (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: 13.352544517998467]