Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.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.001784/0.001784, 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.002614/0.002614, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 7.98 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.375/3.375, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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.Controls.OBC.CDL.Reals.Validation.Limiter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Limiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Limiter",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.002063/0.002063, allocations: 62.72 kB / 1.177 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4289/0.431, allocations: 180.2 MB / 1.353 GB, free: 8.414 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.002827/0.4338, allocations: 0.6905 MB / 1.354 GB, free: 7.727 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001814/0.4356, allocations: 0.8748 MB / 1.354 GB, free: 6.84 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.168e-05/0.4357, allocations: 0 / 1.354 GB, free: 6.84 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.283e-05/0.4357, allocations: 0 / 1.354 GB, free: 6.84 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.707e-05/0.4358, allocations: 3.938 kB / 1.354 GB, free: 6.836 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.436, allocations: 15.92 kB / 1.354 GB, free: 6.82 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.4361, allocations: 31.92 kB / 1.354 GB, free: 6.789 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.4362, allocations: 8 kB / 1.354 GB, free: 6.781 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.66e-05/0.4363, allocations: 15.92 kB / 1.355 GB, free: 6.766 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.928e-05/0.4363, allocations: 23.91 kB / 1.355 GB, free: 6.742 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.4364, allocations: 4 kB / 1.355 GB, free: 6.738 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.397e-05/0.4364, allocations: 4 kB / 1.355 GB, free: 6.734 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.4364, allocations: 4 kB / 1.355 GB, free: 6.73 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.731e-05/0.4364, allocations: 11.94 kB / 1.355 GB, free: 6.719 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.4366, allocations: 36.09 kB / 1.355 GB, free: 6.684 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.884e-06/0.4366, allocations: 4 kB / 1.355 GB, free: 6.68 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4366, allocations: 0 / 1.355 GB, free: 6.68 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.4366, allocations: 0 / 1.355 GB, free: 6.68 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007322/0.4373, allocations: 282.3 kB / 1.355 GB, free: 6.371 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.4374, allocations: 8.031 kB / 1.355 GB, free: 6.363 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.294e-05/0.4374, allocations: 30.75 kB / 1.355 GB, free: 6.324 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.4375, allocations: 8.891 kB / 1.355 GB, free: 6.316 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.4377, allocations: 114.5 kB / 1.355 GB, free: 6.18 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.4377, allocations: 4.375 kB / 1.355 GB, free: 6.176 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.4377, allocations: 384 / 1.355 GB, free: 6.176 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.438, allocations: 66.16 kB / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.438, allocations: 7.938 kB / 1.355 GB, free: 6.098 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.4381, allocations: 4 kB / 1.355 GB, free: 6.094 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.4381, allocations: 0 / 1.355 GB, free: 6.094 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004218/0.4385, allocations: 51.94 kB / 1.355 GB, free: 6.043 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006003/0.4391, allocations: 247.9 kB / 1.355 GB, free: 5.758 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003639/0.4395, allocations: 66.41 kB / 1.355 GB, free: 5.684 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/0.4397, allocations: 28.89 kB / 1.355 GB, free: 5.652 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.4397, allocations: 0 / 1.355 GB, free: 5.652 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.802e-05/0.4398, allocations: 38.56 kB / 1.356 GB, free: 5.605 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.803e-06/0.4398, allocations: 0 / 1.356 GB, free: 5.605 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0008321/0.4406, allocations: 113.6 kB / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.4406, allocations: 51.41 kB / 1.356 GB, free: 5.426 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.4408, allocations: 106 kB / 1.356 GB, free: 5.312 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.4408, allocations: 29.64 kB / 1.356 GB, free: 5.277 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.4409, allocations: 88.12 kB / 1.356 GB, free: 5.188 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.4409, allocations: 3.953 kB / 1.356 GB, free: 5.184 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.835e-05/0.441, allocations: 13.72 kB / 1.356 GB, free: 5.164 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002228/0.4412, allocations: 314.8 kB / 1.356 GB, free: 4.848 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.4415, allocations: 36.81 kB / 1.356 GB, free: 4.809 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/0.4417, allocations: 45.94 kB / 1.356 GB, free: 4.758 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003991/0.4421, allocations: 56.8 kB / 1.356 GB, free: 4.699 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.431e-05/0.4421, allocations: 7.938 kB / 1.356 GB, free: 4.691 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004902/0.4426, allocations: 89.73 kB / 1.356 GB, free: 4.598 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.4426, allocations: 5.562 kB / 1.356 GB, free: 4.594 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.4427, allocations: 3.938 kB / 1.356 GB, free: 4.59 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.4427, allocations: 0 / 1.356 GB, free: 4.59 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.4428, allocations: 11.98 kB / 1.356 GB, free: 4.578 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.4428, allocations: 4 kB / 1.356 GB, free: 4.574 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.443, allocations: 20 kB / 1.356 GB, free: 4.555 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.443, allocations: 7.969 kB / 1.356 GB, free: 4.547 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001962/0.4432, allocations: 96.12 kB / 1.357 GB, free: 4.449 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000138/0.4433, allocations: 29.7 kB / 1.357 GB, free: 4.414 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002329/0.4436, allocations: 44.91 kB / 1.357 GB, free: 4.367 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-06/0.4436, allocations: 0 / 1.357 GB, free: 4.367 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.000337/0.4439, allocations: 73.5 kB / 1.357 GB, free: 4.289 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.4439, allocations: 7.984 kB / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-06/0.4439, allocations: 0 / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-06/0.4439, allocations: 0 / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.024e-05/0.444, allocations: 8 kB / 1.357 GB, free: 4.273 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-06/0.444, allocations: 0 / 1.357 GB, free: 4.273 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.01e-05/0.4441, allocations: 15.95 kB / 1.357 GB, free: 4.258 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.4441, allocations: 4 kB / 1.357 GB, free: 4.254 MB / 1.045 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 (2): * Single equations (assignments): 2 * 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.0001624/0.4443, allocations: 192.1 kB / 1.357 GB, free: 4.059 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.887e-05/0.4443, allocations: 0 / 1.357 GB, free: 4.059 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.919e-05/0.4443, allocations: 7.625 kB / 1.357 GB, free: 4.051 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4443, allocations: 0 / 1.357 GB, free: 4.051 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4443, allocations: 3.938 kB / 1.357 GB, free: 4.047 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4443, allocations: 0 / 1.357 GB, free: 4.047 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.4446, allocations: 144.7 kB / 1.357 GB, free: 3.863 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4446, allocations: 0 / 1.357 GB, free: 3.863 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.4447, allocations: 11.98 kB / 1.357 GB, free: 3.852 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.4447, allocations: 0 / 1.357 GB, free: 3.852 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.4447, allocations: 0 / 1.357 GB, free: 3.852 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4447, allocations: 0 / 1.357 GB, free: 3.852 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4447, allocations: 0 / 1.357 GB, free: 3.852 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004686/0.4452, allocations: 195.3 kB / 1.357 GB, free: 3.645 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.451e-05/0.4452, allocations: 4 kB / 1.357 GB, free: 3.641 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.4452, allocations: 0 / 1.357 GB, free: 3.641 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.4454, allocations: 7.984 kB / 1.357 GB, free: 3.633 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.4454, allocations: 4 kB / 1.357 GB, free: 3.629 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.4454, allocations: 7.984 kB / 1.357 GB, free: 3.621 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.041e-05/0.4455, allocations: 83.28 kB / 1.357 GB, free: 3.539 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4455, allocations: 4.031 kB / 1.357 GB, free: 3.535 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004211/0.4459, allocations: 8 kB / 1.357 GB, free: 3.527 MB / 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 (2): * Single equations (assignments): 2 * 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.0008472/0.4467, allocations: 0.7124 MB / 1.358 GB, free: 2.789 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004833/0.4472, allocations: 75.92 kB / 1.358 GB, free: 2.715 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4472, allocations: 4 kB / 1.358 GB, free: 2.711 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.4474, allocations: 32.08 kB / 1.358 GB, free: 2.68 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.4478, allocations: 4 kB / 1.358 GB, free: 2.676 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006605/0.4485, allocations: 163.1 kB / 1.358 GB, free: 2.477 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.4489, allocations: 0.6768 MB / 1.359 GB, free: 1.773 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.58e-05/0.4489, allocations: 4 kB / 1.359 GB, free: 1.77 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.008e-05/0.449, allocations: 11.5 kB / 1.359 GB, free: 1.758 MB / 1.045 GB Notification: Performance of SimCode: time 5.01e-07/0.449, allocations: 4 kB / 1.359 GB, free: 1.754 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0315/0.4805, allocations: 1.587 MB / 1.361 GB, free: 308 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.84, allocations: 8.141 kB / 1.361 GB, free: 304 kB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Limiter_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.7365328038577]